aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-10-25 10:50:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-25 10:50:02 +0000
commit6e2d5f1aeabd0abbe2ee4ff9d24c4c4ce384d77c (patch)
tree7754db6d5a43953d7f54930e7007f6f37b3cdde5 /libavcodec
parent945eeee15edf918564904947521c90a8d7d5b0c5 (diff)
downloadffmpeg-6e2d5f1aeabd0abbe2ee4ff9d24c4c4ce384d77c.tar.gz
regression test for H263+
Originally committed as revision 1070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 3e23af8078..1bf2cb4496 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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;