From 12d17610645c1d1c2d5bd92cd66a604bb2c754dd Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 Nov 2019 14:47:54 +0100 Subject: 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.) --- stream/stream.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'stream/stream.h') 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; -- cgit v1.2.3