Mercurial > mplayer.hg
diff libmpdemux/demux_rawdv.c @ 10037:1a26db279e50
removed nonsense stream_reset/seek in check_file()
author | arpi |
---|---|
date | Wed, 30 Apr 2003 20:24:09 +0000 |
parents | 72870542a127 |
children | cf5a8eee1597 |
line wrap: on
line diff
--- a/libmpdemux/demux_rawdv.c Wed Apr 30 20:20:51 2003 +0000 +++ b/libmpdemux/demux_rawdv.c Wed Apr 30 20:24:09 2003 +0000 @@ -68,8 +68,6 @@ mp_msg(MSGT_DEMUX,MSGL_V,"Checking for DV\n"); - stream_reset(demuxer->stream); - stream_seek(demuxer->stream, 0); bytes_read=stream_read(demuxer->stream,tmp_buffer,DV_PAL_FRAME_SIZE); if ((bytes_read!=DV_PAL_FRAME_SIZE) && (bytes_read!=DV_NTSC_FRAME_SIZE)) return 0;