From 1dac4d554734b16757b36a0adc71642c5ef2c4e6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 16 Mar 2011 04:46:22 +0000 Subject: [PATCH] jvdec: don't use deprecated url_feof() --- libavformat/jvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c index 9235e51..175cd9f 100644 --- a/libavformat/jvdec.c +++ b/libavformat/jvdec.c @@ -139,7 +139,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) AVIOContext *pb = s->pb; AVStream *ast = s->streams[0]; - while (!url_feof(s->pb) && jv->pts < ast->nb_index_entries) { + while (!s->pb->eof_reached && jv->pts < ast->nb_index_entries) { const AVIndexEntry *e = ast->index_entries + jv->pts; const JVFrame *jvf = jv->frames + jv->pts; -- 2.7.4