# HG changeset patch # User kostya # Date 1232692277 0 # Node ID 29096719e684d6b2242547175277c4481ab4b374 # Parent 1088ea188568a04d0f3aae9abb3ef86397f8b54c VC-1 postproc field is 2 bits wide while decoder read only single bit. Spotted by Stephen Warren. diff -r 1088ea188568 -r 29096719e684 vc1.c --- a/vc1.c Thu Jan 22 22:23:58 2009 +0000 +++ b/vc1.c Fri Jan 23 06:31:17 2009 +0000 @@ -1407,7 +1407,7 @@ 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;