[MPlayer-cvslog] r37331 - trunk/stream/stream.c
reimar
subversion at mplayerhq.hu
Sat Dec 6 12:16:14 CET 2014
Author: reimar
Date: Sat Dec 6 12:16:13 2014
New Revision: 37331
Log:
stream.c: Fix stream_reset to not change s->pos.
Changing s->pos conflicts with the stream_seek optimization
in r37309, which in turn is needed for proper autodetection
with non-seekable inputs.
Thanks to Ivan for debugging the issue.
Modified:
trunk/stream/stream.c
Modified: trunk/stream/stream.c
==============================================================================
--- trunk/stream/stream.c Sat Dec 6 12:16:12 2014 (r37330)
+++ trunk/stream/stream.c Sat Dec 6 12:16:13 2014 (r37331)
@@ -482,7 +482,6 @@ while(stream_fill_buffer(s) > 0 && pos >
void stream_reset(stream_t *s){
if(s->eof){
- s->pos=0;
s->buf_pos=s->buf_len=0;
s->eof=0;
}
More information about the MPlayer-cvslog
mailing list