[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec rv10.c,1.80,1.81

Diego Biurrun CVS diego
Sat Apr 15 14:52:04 CEST 2006


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

Modified Files:
	rv10.c 
Log Message:
Fix SIGSEGV in rv10-null-pointer-500k.rm.
patch by Wolfgang Scherer, Wolfgang__ . __Scherer__ @ __gmx__ . __de


Index: rv10.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/rv10.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- rv10.c	14 Apr 2006 20:45:08 -0000	1.80
+++ rv10.c	15 Apr 2006 12:52:01 -0000	1.81
@@ -737,7 +737,7 @@
         rv10_decode_packet(avctx, buf, buf_size);
     }
 
-    if(s->mb_y>=s->mb_height){
+    if(s->current_picture_ptr != NULL && s->mb_y>=s->mb_height){
         ff_er_frame_end(s);
         MPV_frame_end(s);
 





More information about the ffmpeg-cvslog mailing list