OSDN Git Service

10l found&patch by D Richard Felker III <dalias at aerifal.cx>
authorD Richard Felker III <dalias@aerifal.cx>
Sun, 2 Jun 2002 15:49:21 +0000 (15:49 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 2 Jun 2002 15:49:21 +0000 (15:49 +0000)
Originally committed as revision 649 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ratecontrol.c

index 2a41be2..8395eef 100644 (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;
         }