[SCM] libav/experimental: Increase ffmpeg intermediate conversion buffer size to accomodate 48-bit RGB rawvideo images.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:39:10 UTC 2013
The following commit has been merged in the experimental branch:
commit c027e91a744c5875a47e5d4bb2a0ff9b112d2e0f
Author: Peter Ross <pross at xvid.org>
Date: Sun Feb 22 01:00:28 2009 +0000
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
diff --git a/ffmpeg.c b/ffmpeg.c
index 1e764e5..3c5e333 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);
}
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list