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

kostya subversion
Fri Jan 23 07:33:04 CET 2009


Author: kostya
Date: Fri Jan 23 07:33:04 2009
New Revision: 16726

Log:
Remove the block with always false condition from vc1_parse_frame_header()

Modified:
   trunk/libavcodec/vc1.c

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	Fri Jan 23 07:31:17 2009	(r16725)
+++ trunk/libavcodec/vc1.c	Fri Jan 23 07:33:04 2009	(r16726)
@@ -1174,12 +1174,7 @@ static int vc1_parse_frame_header(VC1Con
     v->k_y = v->mvrange + 8; //k_y can be 8 9 10 11
     v->range_x = 1 << (v->k_x - 1);
     v->range_y = 1 << (v->k_y - 1);
-    if (v->profile == PROFILE_ADVANCED)
-    {
-        if (v->postprocflag) v->postproc = get_bits1(gb);
-    }
-    else
-        if (v->multires && v->s.pict_type != FF_B_TYPE) v->respic = get_bits(gb, 2);
+    if (v->multires && v->s.pict_type != FF_B_TYPE) v->respic = get_bits(gb, 2);
 
     if(v->res_x8 && (v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_BI_TYPE)){
         v->x8_type = get_bits1(gb);




More information about the ffmpeg-cvslog mailing list