[FFmpeg-cvslog] r17513 - trunk/ffmpeg.c

pross subversion
Sun Feb 22 02:00:28 CET 2009


Author: pross
Date: Sun Feb 22 02:00:28 2009
New Revision: 17513

Log:
Increase ffmpeg intermediate conversion buffer size to accomodate 48-bit RGB rawvideo 
images.

Modified:
   trunk/ffmpeg.c

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	Sun Feb 22 01:58:51 2009	(r17512)
+++ trunk/ffmpeg.c	Sun Feb 22 02:00:28 2009	(r17513)
@@ -1897,7 +1897,7 @@ static int av_encode(AVFormatContext **o
         }
         if(codec->codec_type == CODEC_TYPE_VIDEO){
             int size= codec->width * codec->height;
-            bit_buffer_size= FFMAX(bit_buffer_size, 4*size + 200);
+            bit_buffer_size= FFMAX(bit_buffer_size, 6*size + 200);
         }
     }
 




More information about the ffmpeg-cvslog mailing list