[MPlayer-cvslog] CVS: main/libmpdemux demux_lavf.c,1.15,1.16

Sascha Sommer CVS syncmail at mplayerhq.hu
Sun Jun 26 17:32:11 CEST 2005


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv1361/libmpdemux

Modified Files:
	demux_lavf.c 
Log Message:
10l

Index: demux_lavf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_lavf.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- demux_lavf.c	1 May 2005 02:03:58 -0000	1.15
+++ demux_lavf.c	26 Jun 2005 15:32:09 -0000	1.16
@@ -112,7 +112,8 @@
 
     av_register_all();
 
-    stream_read(demuxer->stream, buf, PROBE_BUF_SIZE);
+    if(stream_read(demuxer->stream, buf, PROBE_BUF_SIZE)!=PROBE_BUF_SIZE)
+        return 0;
     avpd.filename= demuxer->stream->url;
     avpd.buf= buf;
     avpd.buf_size= PROBE_BUF_SIZE;




More information about the MPlayer-cvslog mailing list