[MPlayer-cvslog] r20486 - trunk/libmpdemux/demux_nsv.c
reimar
subversion at mplayerhq.hu
Sat Oct 28 12:44:45 CEST 2006
Author: reimar
Date: Sat Oct 28 12:44:45 2006
New Revision: 20486
Modified:
trunk/libmpdemux/demux_nsv.c
Log:
Better check for non-broken NSVf-header to avoid incorrect detection.
Modified: trunk/libmpdemux/demux_nsv.c
==============================================================================
--- trunk/libmpdemux/demux_nsv.c (original)
+++ trunk/libmpdemux/demux_nsv.c Sat Oct 28 12:44:45 2006
@@ -170,6 +170,8 @@
// NSVs
stream_read(demuxer->stream,hdr,17);
+ if (stream_eof(demuxer->stream) || strncmp(hdr, "NSVs", 4))
+ return 0;
}
// dummy debug message
More information about the MPlayer-cvslog
mailing list