diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-16 04:46:22 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-03-16 12:24:23 +0100 |
commit | 1dac4d554734b16757b36a0adc71642c5ef2c4e6 (patch) | |
tree | 091353f5d15c5a0a90563e7e7b41b4fdf5dd462b | |
parent | 79414257e23a0dee82a9978b5444ae8953376221 (diff) | |
download | ffmpeg-1dac4d554734b16757b36a0adc71642c5ef2c4e6.tar.gz |
jvdec: don't use deprecated url_feof()
-rw-r--r-- | libavformat/jvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c index 9235e51a99..175cd9f33b 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; |