Mercurial > mplayer.hg
changeset 31258:a755bac0b6f4
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.
author | reimar |
---|---|
date | Sat, 05 Jun 2010 16:00:49 +0000 |
parents | cce6efdfdb5b |
children | dc3954ca63ca |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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(pos<stream->end_pos && stream->eof) - stream_reset(stream); current_pos = stream_tell(stream); if(stream_seek(stream, pos)==0) { stream_reset(stream);