summaryrefslogtreecommitdiffstats
path: root/demux/demux_lavf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_lavf.c')
-rw-r--r--demux/demux_lavf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c
index efe8edd43c..53f583570f 100644
--- a/demux/demux_lavf.c
+++ b/demux/demux_lavf.c
@@ -143,7 +143,6 @@ static int64_t mp_seek(void *opaque, int64_t pos, int whence)
return -1;
current_pos = stream_tell(stream);
if (stream_seek(stream, pos) == 0) {
- stream_reset(stream);
stream_seek(stream, current_pos);
return -1;
}