diff options
author | Peter Ross <pross@xvid.org> | 2009-02-22 00:58:51 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2009-02-22 00:58:51 +0000 |
commit | befb5cac310f3736cacde0212b02154b22d988b5 (patch) | |
tree | a536fc418f94f499f04d6979288bc0d93ef69052 | |
parent | 001821904e316b68c42d1671dcf963e5f7c648f7 (diff) | |
download | ffmpeg-befb5cac310f3736cacde0212b02154b22d988b5.tar.gz |
Increase ffmpeg intermediate conversion buffer size to accomodate PPM/PNM header.
Originally committed as revision 17512 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); + bit_buffer_size= FFMAX(bit_buffer_size, 4*size + 200); } } |