[FFmpeg-cvslog] Increase maximum encoding video buffer size.

Carl Eugen Hoyos git at videolan.org
Sat Jan 14 01:16:48 CET 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Jan 14 00:59:02 2012 +0100| [93af38ca93f28d8480acee5f1d8eda88dabd706b] | committer: Carl Eugen Hoyos

Increase maximum encoding video buffer size.

libavutil now supports 64bit RGB formats.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=93af38ca93f28d8480acee5f1d8eda88dabd706b
---

 ffmpeg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 42047db..434302d 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2621,9 +2621,9 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
             }
         }
         if (codec->codec_type == AVMEDIA_TYPE_VIDEO) {
-            /* maximum video buffer size is 6-bytes per pixel, plus DPX header size (1664)*/
+            /* maximum video buffer size is 8-bytes per pixel, plus DPX header size (1664)*/
             int size        = codec->width * codec->height;
-            bit_buffer_size = FFMAX(bit_buffer_size, 7*size + 10000);
+            bit_buffer_size = FFMAX(bit_buffer_size, 9*size + 10000);
         }
     }
 



More information about the ffmpeg-cvslog mailing list