Revision afbfb2a8 libavformat/jvdec.c

View differences:

libavformat/jvdec.c
139 139
    AVIOContext *pb = s->pb;
140 140
    AVStream *ast = s->streams[0];
141 141

  
142
    while (!s->pb->eof_reached && jv->pts < ast->nb_index_entries) {
142
    while (!url_feof(s->pb) && jv->pts < ast->nb_index_entries) {
143 143
        const AVIndexEntry *e   = ast->index_entries + jv->pts;
144 144
        const JVFrame      *jvf = jv->frames + jv->pts;
145 145

  

Also available in: Unified diff