~ubuntu-branches/ubuntu/precise/libav/precise-updates

« back to all changes in this revision

Viewing changes to libavcodec/get_bits.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-11-06 11:03:10 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20121106110310-u4wy6ck735vvj8tw
Tags: 4:0.8.4-0ubuntu0.12.04.1
* Update to 0.8.4 to fix multiple security issues. (LP: #1075593)
  - CVE-2012-2772
  - CVE-2012-2775
  - CVE-2012-2776
  - CVE-2012-2777
  - CVE-2012-2779
  - CVE-2012-2784
  - CVE-2012-2786
  - CVE-2012-2787
  - CVE-2012-2788
  - CVE-2012-2789
  - CVE-2012-2790
  - CVE-2012-2793
  - CVE-2012-2794
  - CVE-2012-2796
  - CVE-2012-2798
  - CVE-2012-2800
  - CVE-2012-2801
  - CVE-2012-2802

Show diffs side-by-side

added added

removed removed

Lines of Context:
377
377
                 bits, bits_wrap, bits_size,            \
378
378
                 codes, codes_wrap, codes_size,         \
379
379
                 flags)                                 \
380
 
        init_vlc_sparse(vlc, nb_bits, nb_codes,         \
381
 
                        bits, bits_wrap, bits_size,     \
382
 
                        codes, codes_wrap, codes_size,  \
383
 
                        NULL, 0, 0, flags)
 
380
        ff_init_vlc_sparse(vlc, nb_bits, nb_codes,         \
 
381
                           bits, bits_wrap, bits_size,     \
 
382
                           codes, codes_wrap, codes_size,  \
 
383
                           NULL, 0, 0, flags)
384
384
 
385
 
int init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes,
 
385
int ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes,
386
386
             const void *bits, int bits_wrap, int bits_size,
387
387
             const void *codes, int codes_wrap, int codes_size,
388
388
             const void *symbols, int symbols_wrap, int symbols_size,
389
389
             int flags);
390
390
#define INIT_VLC_LE         2
391
391
#define INIT_VLC_USE_NEW_STATIC 4
392
 
void free_vlc(VLC *vlc);
 
392
void ff_free_vlc(VLC *vlc);
393
393
 
394
394
#define INIT_VLC_STATIC(vlc, bits, a,b,c,d,e,f,g, static_size) do {     \
395
395
        static VLC_TYPE table[static_size][2];                          \