regression test for H263+

Originally committed as revision 1070 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2002-10-25 10:50:02 +00:00
parent 945eeee15e
commit 6e2d5f1aea
3 changed files with 14 additions and 2 deletions

View File

@@ -361,8 +361,7 @@ int MPV_common_init(MpegEncContext *s)
/* 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;