Commit 8d8c539e authored by kostya's avatar kostya

VC-1 postproc field is 2 bits wide while decoder read only single bit.

Spotted by Stephen Warren.



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16725 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6d24823c
...@@ -1407,7 +1407,7 @@ static int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb) ...@@ -1407,7 +1407,7 @@ static int vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
if (v->quantizer_mode == QUANT_FRAME_EXPLICIT) if (v->quantizer_mode == QUANT_FRAME_EXPLICIT)
v->pquantizer = get_bits1(gb); v->pquantizer = get_bits1(gb);
if(v->postprocflag) 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; if(v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_P_TYPE) v->use_ic = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment