diff libmpdemux/demux_bmp.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 c2e17a510b4b
line wrap: on
line diff
--- a/libmpdemux/demux_bmp.c	Wed Apr 30 20:20:51 2003 +0000
+++ b/libmpdemux/demux_bmp.c	Wed Apr 30 20:24:09 2003 +0000
@@ -23,9 +23,6 @@
 // Check if a file is a BMP file depending on whether starts with 'BM'
 int bmp_check_file(demuxer_t *demuxer)
 {
-  stream_reset(demuxer->stream);
-  stream_seek(demuxer->stream, 0);
-
   if (stream_read_word(demuxer->stream) == (('B' << 8) | 'M'))
     return 1;
   else