diff options
Diffstat (limited to 'libavformat/lxfdec.c')
-rw-r--r-- | libavformat/lxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c index 4e98c895cf..0d5d8e8f91 100644 --- a/libavformat/lxfdec.c +++ b/libavformat/lxfdec.c @@ -90,7 +90,7 @@ static int sync(AVFormatContext *s, uint8_t *header) return ret < 0 ? ret : AVERROR_EOF; while (memcmp(buf, LXF_IDENT, LXF_IDENT_LENGTH)) { - if (url_feof(s->pb)) + if (s->pb->eof_reached) return AVERROR_EOF; memmove(buf, &buf[1], LXF_IDENT_LENGTH-1); |