1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

jvdec: don't use deprecated url_feof()

This commit is contained in:
Anton Khirnov 2011-03-16 04:46:22 +00:00 committed by Reinhard Tartler
parent 79414257e2
commit 1dac4d5547

View File

@ -139,7 +139,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
AVIOContext *pb = s->pb; AVIOContext *pb = s->pb;
AVStream *ast = s->streams[0]; 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 AVIndexEntry *e = ast->index_entries + jv->pts;
const JVFrame *jvf = jv->frames + jv->pts; const JVFrame *jvf = jv->frames + jv->pts;