From 3b83d43da3402f8bfc823d8f1888e38d7619d271 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 19 Feb 2012 17:16:05 +0100 Subject: Don't print awkward negative seek message when playing directory This was caused by a demuxer trying to undo the header read when probing for its file format. This is pointless in any case, because the core demuxer code seeks back to the start of the file when initializing a demuxer. --- libmpdemux/demux_lmlm4.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libmpdemux/demux_lmlm4.c') diff --git a/libmpdemux/demux_lmlm4.c b/libmpdemux/demux_lmlm4.c index 05cec05282..739343cdb4 100644 --- a/libmpdemux/demux_lmlm4.c +++ b/libmpdemux/demux_lmlm4.c @@ -181,7 +181,6 @@ static int lmlm4_check_file(demuxer_t* demuxer) mp_msg(MSGT_DEMUX, MSGL_V, "Checking for LMLM4 Stream Format\n"); if(getFrame(demuxer, &frameInfo)!=1){ - stream_skip(demuxer->stream,-8); mp_msg(MSGT_DEMUX, MSGL_V, "LMLM4 Stream Format not found\n"); return 0; } -- cgit v1.2.3