mirror of https://github.com/mpv-player/mpv
demux_lavf: remove unnecessary seek on initialization
This is not needed, and actually completely incorrect.
This commit is contained in:
parent
a937e93fd6
commit
76ce5434b2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue