summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream.h b/stream/stream.h
index d46730bd80..5cbc304e81 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -289,8 +289,6 @@ inline static int stream_seek(stream_t *s,off_t pos){
mp_dbg(MSGT_DEMUX, MSGL_DBG3, "seek to 0x%qX\n",(long long)pos);
- if(s->eof)
- return 0;
if(pos<s->pos){
off_t x=pos-(s->pos-s->buf_len);
if(x>=0){