From 159f5f451dbc8e8766150122db62de498577270b Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 5 Jun 2010 16:00:49 +0000 Subject: Di not do a stream_reset on seeking backwards, the seek itself should do whatever is best/necessary, this method will just drop cached data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31324 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_lavf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libmpdemux') diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c index 72363ef520..9fbe63427c 100644 --- a/libmpdemux/demux_lavf.c +++ b/libmpdemux/demux_lavf.c @@ -113,8 +113,6 @@ static int64_t mp_seek(void *opaque, int64_t pos, int whence) { if(pos<0) return -1; - if(posend_pos && stream->eof) - stream_reset(stream); current_pos = stream_tell(stream); if(stream_seek(stream, pos)==0) { stream_reset(stream); -- cgit v1.2.3