[MPlayer-cvslog] CVS: main/libmpdemux demux_nuv.c,1.12,1.13
Sascha Sommer CVS
syncmail at mplayerhq.hu
Sun Jun 26 17:15:40 CEST 2005
CVS change done by Sascha Sommer CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv22825/libmpdemux
Modified Files:
demux_nuv.c
Log Message:
10l
Index: demux_nuv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_nuv.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- demux_nuv.c 3 Mar 2005 10:19:56 -0000 1.12
+++ demux_nuv.c 26 Jun 2005 15:15:38 -0000 1.13
@@ -301,7 +301,8 @@
mp_msg ( MSGT_DEMUX, MSGL_V, "Checking for NuppelVideo\n" );
- stream_read(demuxer->stream,(char*)&ns,sizeof(ns));
+ if(stream_read(demuxer->stream,(char*)&ns,sizeof(ns)) != sizeof(ns))
+ return 0;
if ( strncmp ( ns.finfo, "NuppelVideo", 12 ) )
return 0; /* Not a NuppelVideo file */
More information about the MPlayer-cvslog
mailing list