aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2009-02-22 01:00:28 +0000
committerPeter Ross <pross@xvid.org>2009-02-22 01:00:28 +0000
commitc027e91a744c5875a47e5d4bb2a0ff9b112d2e0f (patch)
tree5e9035f7705e3757dca5b9b009d3bd72f3060cb0 /ffmpeg.c
parentbefb5cac310f3736cacde0212b02154b22d988b5 (diff)
downloadffmpeg-c027e91a744c5875a47e5d4bb2a0ff9b112d2e0f.tar.gz
Increase ffmpeg intermediate conversion buffer size to accomodate 48-bit RGB rawvideo
images. Originally committed as revision 17513 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 1e764e552e..3c5e333ac4 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1897,7 +1897,7 @@ static int av_encode(AVFormatContext **output_files,
}
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);
}
}