diff mpegvideo.c @ 567:5a6eaaa9fba2 libavcodec

larger edge emu buffer (might have been too small)
author michaelni
date Wed, 17 Jul 2002 13:25:01 +0000
parents c376a0b290cf
children 395bb978b9ff
line wrap: on
line diff
--- a/mpegvideo.c	Wed Jul 17 12:42:50 2002 +0000
+++ b/mpegvideo.c	Wed Jul 17 13:25:01 2002 +0000
@@ -181,7 +181,7 @@
       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;