summaryrefslogtreecommitdiffstats
path: root/demux/demux_mkv.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_mkv.c')
-rw-r--r--demux/demux_mkv.c2
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);