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
This commit is contained in:
reimar 2010-06-05 16:00:49 +00:00
parent 244b884728
commit 159f5f451d
1 changed files with 0 additions and 2 deletions

View File

@ -113,8 +113,6 @@ static int64_t mp_seek(void *opaque, int64_t pos, int whence) {
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);