~noskcaj/ubuntu/saucy/libav/merge0.8.7-1

« back to all changes in this revision

Viewing changes to libavcodec/ituh263dec.c

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-03-21 21:18:24 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20120321211824-n63p3v3s99q3mxrb
Tags: 4:0.8.1-0ubuntu1
* New upstream bug and security fix release (FFe: LP: #960949)
  - fixes the following CVEs:
    CVE-2012-0848, CVE-2012-0853, CVE-2012-0858, CVE-2011-3929,
    CVE-2011-3936, CVE-2011-3937, CVE-2011-3940, CVE-2011-3945,
    CVE-2011-3947, CVE-2011-3951, CVE-2011-3952

* Pull fix from Debian git to fix installation of avserver.conf and
  recordshow.sh into libav-tools; Thanks to Julien Cristau for spotting this!
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
852
852
    {
853
853
        int v= show_bits(&s->gb, 16);
854
854
 
855
 
        if(get_bits_count(&s->gb) + 16 > s->gb.size_in_bits){
856
 
            v>>= get_bits_count(&s->gb) + 16 - s->gb.size_in_bits;
 
855
        if (get_bits_left(&s->gb) < 16) {
 
856
            v >>= 16 - get_bits_left(&s->gb);
857
857
        }
858
858
 
859
859
        if(v==0)