changeset 8640:ad979489c6e7 libavcodec

Remove the block with always false condition from vc1_parse_frame_header()
author kostya
date Fri, 23 Jan 2009 06:33:04 +0000
parents 29096719e684
children 54e2916c25a5
files vc1.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Fri Jan 23 06:31:17 2009 +0000
+++ b/vc1.c	Fri Jan 23 06:33:04 2009 +0000
@@ -1174,12 +1174,7 @@
     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);