[FFmpeg-cvslog] r16725 - trunk/libavcodec/vc1.c

kostya subversion
Fri Jan 23 07:31:17 CET 2009


Author: kostya
Date: Fri Jan 23 07:31:17 2009
New Revision: 16725

Log:
VC-1 postproc field is 2 bits wide while decoder read only single bit.
Spotted by Stephen Warren.

Modified:
   trunk/libavcodec/vc1.c

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	Fri Jan 23 00:35:31 2009	(r16724)
+++ trunk/libavcodec/vc1.c	Fri Jan 23 07:31:17 2009	(r16725)
@@ -1407,7 +1407,7 @@ static int vc1_parse_frame_header_adv(VC
     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;
 




More information about the ffmpeg-cvslog mailing list