1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

10l found&patch by D Richard Felker III <dalias at aerifal.cx>

Originally committed as revision 649 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
D Richard Felker III 2002-06-02 15:49:21 +00:00 committed by Michael Niedermayer
parent 333547be44
commit 90864f2712

View File

@ -342,7 +342,7 @@ static int init_pass2(MpegEncContext *s)
q= 1/((1/avg_quantizer[pict_type] - 1/short_term_q)*s->qcompress + 1/short_term_q);
if (q<qmin) q=qmin;
else if(q>qmax) q=qmax;
printf("lq:%f, sq:%f t:%f q:%f\n", avg_quantizer[rce->pict_type], short_term_q, bits_left, q);
//printf("lq:%f, sq:%f t:%f q:%f\n", avg_quantizer[rce->pict_type], short_term_q, bits_left, q);
rce->new_qscale= q;
}