diff mpegvideo.c @ 767:c75c3f1bef4b libavcodec

regression test for H263+
author michaelni
date Fri, 25 Oct 2002 10:50:02 +0000
parents 8d36b35a7e6e
children c3fc09466f92
line wrap: on
line diff
--- a/mpegvideo.c	Fri Oct 25 00:08:32 2002 +0000
+++ b/mpegvideo.c	Fri Oct 25 10:50:02 2002 +0000
@@ -361,8 +361,7 @@
     /* 4mv b frame decoding table */
     //note this is needed for h263 without b frames too (segfault on damaged streams otherwise)
     CHECKED_ALLOCZ(s->co_located_type_table, s->mb_num * sizeof(UINT8))
-
-    if (s->h263_pred || s->h263_plus) {
+    if (s->out_format == FMT_H263) {
         /* ac values */
         CHECKED_ALLOCZ(s->ac_val[0], yc_size * sizeof(INT16) * 16);
         s->ac_val[1] = s->ac_val[0] + y_size;