|author||wm4 <wm4@nowhere>||2013-11-03 17:46:36 +0100|
|committer||wm4 <wm4@nowhere>||2013-11-03 17:46:36 +0100|
stream: more consistent checks for whether stream is seekable
Never check s->seek (except in init), because it'd have to check s->flags anyway. Also, for fast skippable streams (like pipes), don't set the bit that indicates support for seek forward. Make sure s->end_pos is always 0 for unseekable streams. Lots of code outside of stream.c uses this to check seeking support.
Diffstat (limited to 'stream/stream_memory.c')
0 files changed, 0 insertions, 0 deletions