~ubuntu-branches/ubuntu/trusty/libdv/trusty

« back to all changes in this revision

Viewing changes to libdv/vlc.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-09-26 14:22:15 UTC
  • mfrom: (1.3.1 upstream) (3.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060926142215-q2arp4stpw6lrb5p
Tags: 1.0.0-1
* New upstream version.
* Removed patches:
  + [01_changelog_update_CVS]
  + [10_amd64_linkage_fix_CVS]
  + [10_inline_fixes_CVS]
  + [20_no_exec_stack_CVS]
  + [30_unload_memleak_fix_CVS]
  + [40_playdv_exit_fix_CVS]
  + [50_gcc41_asm_constraint_fixes_CVS]
    All of the above are part of the new upstream version.
* debian/control: In Build-Depends, remove alternative dependencies on
  obsolete SDL and X packages.
* debian/control: Complies with version 3.7.2 of Debian policy.
* debian/libdv4.README.Debian: Document lack of position-independent code
  in i386 version of libdv's shared library as mandated by recent versions
  of Debian policy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
770
770
/* Note we assume bits is right (lsb) aligned, and that (0 < maxbits <
771
771
 * 17).  This may look crazy, but there are no branches here. */
772
772
 
773
 
#if ! ARCH_X86
 
773
#if (!ARCH_X86) && (!ARCH_X86_64)
774
774
void dv_decode_vlc(int bits,int maxbits, dv_vlc_t *result) {
775
775
#ifdef __GNUC__
776
776
  static dv_vlc_t vlc_broken = {run: -1, amp: -1, len: VLC_NOBITS};
804
804
  result->amp = amps[has_sign &  /* or vlc not valid */
805
805
                    (bits >> sign_rshift[result->len])];
806
806
} /* __dv_decode_vlc */
807
 
#endif /* ! ARCH_X86 */
 
807
#endif /* (! ARCH_X86) && (!ARCH_X86_64) */