diff options
author | wm4 <wm4@nowhere> | 2019-11-07 14:47:54 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-07 22:53:10 +0100 |
commit | 12d17610645c1d1c2d5bd92cd66a604bb2c754dd (patch) | |
tree | a2c4e11d684d206de7cf1109149f0c642bd990d5 /demux | |
parent | 8a0929973de15d9574595c5a098bb3446757ef16 (diff) | |
download | mpv-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 'demux')
-rw-r--r-- | demux/demux_mkv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c index db1ccff13a..bd36edb784 100644 --- a/demux/demux_mkv.c +++ b/demux/demux_mkv.c @@ -2137,7 +2137,7 @@ static int demux_mkv_read_block_lacing(struct block_info *block, int type, uint8_t t; do { t = stream_read_char(s); - if (stream_eof(s) || stream_tell(s) >= endpos) + if (s->eof || stream_tell(s) >= endpos) goto error; lace_size[i] += t; } while (t == 0xFF); |