diff options
author | wm4 <wm4@mplayer2.org> | 2012-02-19 17:16:05 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-02-19 17:16:05 +0100 |
commit | 3b83d43da3402f8bfc823d8f1888e38d7619d271 (patch) | |
tree | 6e14beec74454b37fd1ea21373b6100e63672021 | |
parent | 3b68a774b9e2b1c80fe0a962fc8a4b32e9b0a2e2 (diff) | |
download | mpv-3b83d43da3402f8bfc823d8f1888e38d7619d271.tar.bz2 mpv-3b83d43da3402f8bfc823d8f1888e38d7619d271.tar.xz |
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.
-rw-r--r-- | libmpdemux/demux_lmlm4.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |