diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-03-17 17:02:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-17 17:26:45 +0100 |
commit | afbfb2a81dde6d154216b72ac839aa4585a80d1c (patch) | |
tree | 58720aff9f35f3ca6f26cfbad2fd4dd8813ff14d /libavformat | |
parent | c0b1bc8d1797355c4f65ae4c488705b98cf9c8e9 (diff) | |
download | ffmpeg-afbfb2a81dde6d154216b72ac839aa4585a80d1c.tar.gz |
Revert "jvdec: don't use deprecated url_feof()"
This reverts commit 1dac4d554734b16757b36a0adc71642c5ef2c4e6.
Diffstat (limited to 'libavformat')
-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 175cd9f33b..9235e51a99 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 (!s->pb->eof_reached && jv->pts < ast->nb_index_entries) { + while (!url_feof(s->pb) && jv->pts < ast->nb_index_entries) { const AVIndexEntry *e = ast->index_entries + jv->pts; const JVFrame *jvf = jv->frames + jv->pts; |