summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-14 00:59:02 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-01-14 00:59:02 +0100
commit93af38ca93f28d8480acee5f1d8eda88dabd706b (patch)
tree44e2b843d4e4e7c6e8a0dbb5e584f109e815e779 /ffmpeg.c
parent7c10d3ca2e44b81f31f6ac91bcddf7c6dda3169e (diff)
Increase maximum encoding video buffer size.
libavutil now supports 64bit RGB formats.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 42047db4b3..434302d465 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);
}
}