summaryrefslogtreecommitdiffstats
path: root/stream/stream.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-07 14:47:54 +0100
committerwm4 <wm4@nowhere>2019-11-07 22:53:10 +0100
commit12d17610645c1d1c2d5bd92cd66a604bb2c754dd (patch)
treea2c4e11d684d206de7cf1109149f0c642bd990d5 /stream/stream.h
parent8a0929973de15d9574595c5a098bb3446757ef16 (diff)
downloadmpv-12d17610645c1d1c2d5bd92cd66a604bb2c754dd.tar.bz2
mpv-12d17610645c1d1c2d5bd92cd66a604bb2c754dd.tar.xz
stream: remove eof getter
demux_mkv was the only thing using this, and everything else accessed it directly. No need to keep the indirection wrapper around. (Funny how this getter was in the initial commit of MPlayer.)
Diffstat (limited to 'stream/stream.h')
-rw-r--r--stream/stream.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/stream/stream.h b/stream/stream.h
index 7dbcd833a4..cc7fcbb2f0 100644
--- a/stream/stream.h
+++ b/stream/stream.h
@@ -188,11 +188,6 @@ inline static int stream_read_char(stream_t *s)
int stream_skip_bom(struct stream *s);
-inline static int stream_eof(stream_t *s)
-{
- return s->eof;
-}
-
inline static int64_t stream_tell(stream_t *s)
{
return s->pos + s->buf_cur - s->buf_end;