# HG changeset patch # User michaelni # Date 1035543002 0 # Node ID c75c3f1bef4b41b5f4d9836dd01cf29ca80358ec # Parent 8d36b35a7e6e5a2abf7fa9993080c23061b9121f regression test for H263+ diff -r 8d36b35a7e6e -r c75c3f1bef4b mpegvideo.c --- 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;