summaryrefslogtreecommitdiff
path: root/libavformat/filmstripdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/filmstripdec.c')
-rw-r--r--libavformat/filmstripdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/filmstripdec.c b/libavformat/filmstripdec.c
index 8d56b0e340..568bc0d17a 100644
--- a/libavformat/filmstripdec.c
+++ b/libavformat/filmstripdec.c
@@ -80,7 +80,7 @@ static int read_packet(AVFormatContext *s,
FilmstripDemuxContext *film = s->priv_data;
AVStream *st = s->streams[0];
- if (url_feof(s->pb))
+ if (s->pb->eof_reached)
return AVERROR(EIO);
pkt->dts = avio_tell(s->pb) / (st->codec->width * (st->codec->height + film->leading) * 4);
pkt->size = av_get_packet(s->pb, pkt, st->codec->width * st->codec->height * 4);