Commit 1dac4d55 authored by Anton Khirnov's avatar Anton Khirnov Committed by Reinhard Tartler
Browse files

jvdec: don't use deprecated url_feof()

parent 79414257
...@@ -139,7 +139,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment