diff libmpdemux/demux_roq.c @ 10037:1a26db279e50

removed nonsense stream_reset/seek in check_file()
author arpi
date Wed, 30 Apr 2003 20:24:09 +0000
parents 8a357300d0ec
children 6b86089c2edd
line wrap: on
line diff
--- a/libmpdemux/demux_roq.c	Wed Apr 30 20:20:51 2003 +0000
+++ b/libmpdemux/demux_roq.c	Wed Apr 30 20:24:09 2003 +0000
@@ -50,9 +50,6 @@
 //  84 10 FF FF FF FF xx xx
 int roq_check_file(demuxer_t *demuxer)
 {
-  stream_reset(demuxer->stream);
-  stream_seek(demuxer->stream, 0);
-
   if ((stream_read_dword(demuxer->stream) == 0x8410FFFF) &&
       ((stream_read_dword(demuxer->stream) & 0xFFFF0000) == 0xFFFF0000))
     return 1;