[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mpegvideo.c,1.492,1.493

Michael Niedermayer CVS michael
Sun Dec 18 20:59:36 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv9005

Modified Files:
	mpegvideo.c 
Log Message:
fix q=0 bug


Index: mpegvideo.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegvideo.c,v
retrieving revision 1.492
retrieving revision 1.493
diff -u -d -r1.492 -r1.493
--- mpegvideo.c	17 Dec 2005 18:14:28 -0000	1.492
+++ mpegvideo.c	18 Dec 2005 19:59:33 -0000	1.493
@@ -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){





More information about the ffmpeg-cvslog mailing list