aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-07-17 13:25:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-07-17 13:25:01 +0000
commit9be42dba97ba98d8527e98ed09d16626a2efbe67 (patch)
treec9c7a81b04b4c4a8f1a735b2bbe3bd019a3c53b0
parent5499377432d5fcb17e39f74c4757745ef4be3cca (diff)
downloadffmpeg-9be42dba97ba98d8527e98ed09d16626a2efbe67.tar.gz
larger edge emu buffer (might have been too small)
Originally committed as revision 773 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 2d67824b2e..9f2cd49b06 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;