changeset 2972:4b4ee324b4c4 libavcodec

fix q=0 bug
author michael
date Sun, 18 Dec 2005 19:59:33 +0000
parents 1c22981c3498
children bb0222145083
files mpegvideo.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Sun Dec 18 13:29:09 2005 +0000
+++ b/mpegvideo.c	Sun Dec 18 19:59:33 2005 +0000
@@ -5369,7 +5369,8 @@
     }
 
     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){