10l found by RĂ©mi Guyomarch <rguyom at pobox dot com>
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 1 Aug 2002 23:23:48 +0000 (23:23 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 1 Aug 2002 23:23:48 +0000 (23:23 +0000)
Originally committed as revision 834 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263dec.c

index ee282ef..0d83a56 100644 (file)
@@ -158,7 +158,7 @@ uint64_t time= rdtsc();
 {
     static FILE *f=NULL;
     if(!f) f=fopen("rate_qp_cplx.txt", "w");
-    fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size/(double)s->qscale);
+    fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale);
 }
 #endif