# HG changeset patch # User reimar # Date 1275753649 0 # Node ID a755bac0b6f40b8ab91c1b4a70e5c40b9af50c09 # Parent cce6efdfdb5b2e973642290b199bd8efbb870a95 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. diff -r cce6efdfdb5b -r a755bac0b6f4 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Sat Jun 05 15:57:57 2010 +0000 +++ b/libmpdemux/demux_lavf.c Sat Jun 05 16:00:49 2010 +0000 @@ -113,8 +113,6 @@ 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);