~ubuntu-branches/debian/squeeze/gstreamer0.10-ffmpeg/squeeze

« back to all changes in this revision

Viewing changes to gst-libs/ext/ffmpeg/libavcodec/vp6.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-02-19 18:14:59 UTC
  • mfrom: (4.1.5 experimental)
  • Revision ID: james.westby@ubuntu.com-20100219181459-mect96st3px2jfsi
Tags: 0.10.9.2-1
* New upstream pre-release:
  + debian/patches/03_restricted-caps.patch,
    debian/patches/04_ignore-vdpau.patch:
    - Dropped, merged upstream.
* debian/patches/03_too-new-codec-ids.patch:
  + Disable some ffmpeg codec IDs because Debian's
    ffmpeg is once again too old...

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "avcodec.h"
31
31
#include "dsputil.h"
32
 
#include "bitstream.h"
 
32
#include "get_bits.h"
33
33
#include "huffman.h"
34
34
 
35
35
#include "vp56.h"
372
372
                if (coeff_idx)
373
373
                    break;
374
374
            } else {
 
375
                if (get_bits_count(&s->gb) >= s->gb.size_in_bits)
 
376
                    return;
375
377
                coeff = get_vlc2(&s->gb, vlc_coeff->table, 9, 3);
376
378
                if (coeff == 0) {
377
379
                    if (coeff_idx) {