From 9be42dba97ba98d8527e98ed09d16626a2efbe67 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 17 Jul 2002 13:25:01 +0000 Subject: [PATCH] larger edge emu buffer (might have been too small) Originally committed as revision 773 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 2d67824..9f2cd49 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -181,7 +181,7 @@ int MPV_common_init(MpegEncContext *s) s->ip_buffer_count= 2; } - CHECKED_ALLOCZ(s->edge_emu_buffer, (s->width+32)*2*17); + CHECKED_ALLOCZ(s->edge_emu_buffer, (s->width+64)*2*17*2); //(width + edge + align)*interlaced*MBsize*tolerance if (s->encoding) { int j; -- 2.7.4