vc1: Enable the interlaced B-frame codepath.
authorTim Walker <tdskywalker@gmail.com>
Sat, 11 Jan 2014 22:58:16 +0000 (23:58 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 13 Jan 2014 09:23:01 +0000 (10:23 +0100)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/vc1.c

index 319230a..acefce6 100644 (file)
@@ -1188,7 +1188,6 @@ int ff_vc1_parse_frame_header_adv(VC1Context *v, GetBitContext* gb)
             if (v->bfraction == 0) {
                 return -1;
             }
             if (v->bfraction == 0) {
                 return -1;
             }
-            return -1; // This codepath is still incomplete thus it is disabled
         }
         if (v->extended_mv)
             v->mvrange = get_unary(gb, 0, 3);
         }
         if (v->extended_mv)
             v->mvrange = get_unary(gb, 0, 3);