Browse Source

Revert "jvdec: don't use deprecated url_feof()"

This reverts commit 1dac4d5547.
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
afbfb2a81d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/jvdec.c

+ 1
- 1
libavformat/jvdec.c View File

@@ -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;



Loading…
Cancel
Save