From de5566f0b5420fbdbf0dc37f225be01cfd04cf66 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 21 May 2010 20:53:12 +0300 Subject: stream.h: remove bad EOF check in stream_seek() Also remove a redundant stream->eof = 0 in demuxer.c. --- stream/stream.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'stream') 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(pospos){ off_t x=pos-(s->pos-s->buf_len); if(x>=0){ -- cgit v1.2.3