[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mpegvideo.c,1.483,1.484

Michael Niedermayer CVS michael
Sun May 22 00:20:29 CEST 2005


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

Modified Files:
	mpegvideo.c 
Log Message:
fix max b frames with b frame strategy 1


Index: mpegvideo.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegvideo.c,v
retrieving revision 1.483
retrieving revision 1.484
diff -u -d -r1.483 -r1.484
--- mpegvideo.c	13 May 2005 21:04:15 -0000	1.483
+++ mpegvideo.c	21 May 2005 22:20:26 -0000	1.484
@@ -2201,7 +2201,7 @@
                                                s->input_picture[i-1]->data[0], s->linesize) + 1;
                     }
                 }
-                for(i=0; i<s->max_b_frames; i++){
+                for(i=0; i<s->max_b_frames+1; i++){
                     if(s->input_picture[i]==NULL || s->input_picture[i]->b_frame_score - 1 > s->mb_num/40) break;
                 }
                                 





More information about the ffmpeg-cvslog mailing list