Better check for non-broken NSVf-header to avoid incorrect detection.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20486 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-10-28 10:44:45 +00:00
parent ef45c3167f
commit 8777fbb596
1 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,8 @@ static demuxer_t* demux_open_nsv ( demuxer_t* demuxer )
// NSVs
stream_read(demuxer->stream,hdr,17);
if (stream_eof(demuxer->stream) || strncmp(hdr, "NSVs", 4))
return 0;
}
// dummy debug message