diff options
author | wm4 <wm4@nowhere> | 2013-12-12 01:38:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-12 01:40:44 +0100 |
commit | 76ce5434b2716abf063b6d581fe2930825cdecab (patch) | |
tree | f0fcf1ccdd110ec9d5f709839d7d6c41761f8316 /demux | |
parent | a937e93fd610d4c6f4f89532f562ee698535c9be (diff) | |
download | mpv-76ce5434b2716abf063b6d581fe2930825cdecab.tar.bz2 mpv-76ce5434b2716abf063b6d581fe2930825cdecab.tar.xz |
demux_lavf: remove unnecessary seek on initialization
This is not needed, and actually completely incorrect.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_lavf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 1a6a1a9d74..8f9c49a618 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -531,8 +531,6 @@ static int demux_open_lavf(demuxer_t *demuxer, enum demux_check check) if (!priv) return -1; - stream_seek(demuxer->stream, 0); - avfc = avformat_alloc_context(); if (lavfdopts->cryptokey) |