[MPlayer-cvslog] CVS: main/libmpdemux demux_vqf.c,1.1,1.2

Sascha Sommer CVS syncmail at mplayerhq.hu
Sun Jun 26 17:21:29 CEST 2005


CVS change done by Sascha Sommer CVS

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

Modified Files:
	demux_vqf.c 
Log Message:
10l

Index: demux_vqf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_vqf.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- demux_vqf.c	29 Dec 2004 19:51:56 -0000	1.1
+++ demux_vqf.c	26 Jun 2005 15:21:27 -0000	1.2
@@ -16,7 +16,8 @@
   char buf[KEYWORD_BYTES];
   stream_t *s;
   s = demuxer->stream;
-  stream_read(s,buf,KEYWORD_BYTES);
+  if(stream_read(s,buf,KEYWORD_BYTES)!=KEYWORD_BYTES)
+    return 0;
   if(memcmp(buf,"TWIN",KEYWORD_BYTES)==0) return 1; /*version: 97012000*/
   return 0;
 }




More information about the MPlayer-cvslog mailing list