[SCM] libav/experimental: qscale estimate fix, diff extended to 64bit wide. patch by Stephen Davies <steve at daviesfam.org>
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:30:46 UTC 2013
The following commit has been merged in the experimental branch:
commit fb4a9613ee4c03e38b4b85ad2d375bbdc856118a
Author: Stephen Davies <steve at daviesfam.org>
Date: Tue Jan 8 00:28:55 2002 +0000
qscale estimate fix, diff extended to 64bit wide. patch by Stephen Davies <steve at daviesfam.org>
Originally committed as revision 247 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 80a3563..ec16e78 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1310,9 +1310,9 @@ static void rate_control_init(MpegEncContext *s)
*/
static int rate_estimate_qscale(MpegEncContext *s)
{
- INT64 total_bits = s->total_bits;
+ INT64 diff, total_bits = s->total_bits;
float q;
- int qscale, diff, qmin;
+ int qscale, qmin;
if (s->pict_type == I_TYPE) {
s->wanted_bits += s->I_frame_bits;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list