jvdec: don't use deprecated url_feof()
authorAnton Khirnov <anton@khirnov.net>
Wed, 16 Mar 2011 04:46:22 +0000 (04:46 +0000)
committerReinhard Tartler <siretart@tauware.de>
Wed, 16 Mar 2011 11:24:23 +0000 (12:24 +0100)
libavformat/jvdec.c

index 9235e51..175cd9f 100644 (file)
@@ -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;