[Mplayer-cvslog] CVS: main dec_video.c,1.40,1.41

Arpi of Ize arpi at mplayer.dev.hu
Sat Sep 29 23:40:09 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv19761

Modified Files:
	dec_video.c 
Log Message:
mpeg2-interlaced patch by Ivan Kalvatchev <iive at yahoo.com>

Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- dec_video.c	28 Sep 2001 18:23:44 -0000	1.40
+++ dec_video.c	29 Sep 2001 21:39:56 -0000	1.41
@@ -556,8 +556,10 @@
 	blit_frame=2;
     } else {
 	// software decoding:
-	mpeg2_decode_data(video_out, start, start+in_size,drop_frame); // decode
-	if(!drop_frame) blit_frame=1;
+	if(
+	mpeg2_decode_data(video_out, start, start+in_size,drop_frame) > 0 // decode
+	&& (!drop_frame)
+	   ) blit_frame=1;
     }
     break;
   case VFM_RAW:




More information about the MPlayer-cvslog mailing list