diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-01-23 06:31:17 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2009-01-23 06:31:17 +0000 |
commit | a28d52249171fd7adb95f210a3a71cec498bf790 (patch) | |
tree | 70f46dfef384ab293f74e58d97cab3a6bd1c9a83 /libavcodec/vc1.c | |
parent | 3a41c2f769e6ff7321a304517345b92def0c5c49 (diff) | |
download | ffmpeg-a28d52249171fd7adb95f210a3a71cec498bf790.tar.gz |
VC-1 postproc field is 2 bits wide while decoder read only single bit.
Spotted by Stephen Warren.
Originally committed as revision 16725 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r-- | libavcodec/vc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index e329ac9559..78b76d103e 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -1407,7 +1407,7 @@ static int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb) if (v->quantizer_mode == QUANT_FRAME_EXPLICIT) v->pquantizer = get_bits1(gb); if(v->postprocflag) - v->postproc = get_bits1(gb); + v->postproc = get_bits(gb, 2); if(v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_P_TYPE) v->use_ic = 0; |