[SCM] libav/experimental: fix q=0 bug
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:45:38 UTC 2013
The following commit has been merged in the experimental branch:
commit 71160c55e0a0abb3ade715d759d4ea3e11dcc2dc
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sun Dec 18 19:59:33 2005 +0000
fix q=0 bug
Originally committed as revision 4754 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 70cc5f8..743e992 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -5369,7 +5369,8 @@ static void encode_picture(MpegEncContext *s, int picture_number)
}
if (!s->fixed_qscale)
- s->current_picture.quality = ff_rate_estimate_qscale(s); //FIXME pic_ptr
+ s->current_picture_ptr->quality=
+ s->current_picture.quality = ff_rate_estimate_qscale(s);
if(s->adaptive_quant){
switch(s->codec_id){
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list