Commit 9be42dba authored by Michael Niedermayer's avatar Michael Niedermayer

larger edge emu buffer (might have been too small)

Originally committed as revision 773 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 54993774
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment