From d34ec64a22907173c13e687b815d94618d2dc85b Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 7 Aug 2014 17:12:41 -0300 Subject: replace calls to url_feof() with avio_feof() Signed-off-by: James Almer Signed-off-by: Michael Niedermayer --- libavformat/dxa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/dxa.c') diff --git a/libavformat/dxa.c b/libavformat/dxa.c index ea5b4f7..6ad1c9f 100644 --- a/libavformat/dxa.c +++ b/libavformat/dxa.c @@ -112,7 +112,7 @@ static int dxa_read_header(AVFormatContext *s) if (ast->codec->sample_rate > 0) avpriv_set_pts_info(ast, 64, 1, ast->codec->sample_rate); // find 'data' chunk - while(avio_tell(pb) < c->vidpos && !url_feof(pb)){ + while(avio_tell(pb) < c->vidpos && !avio_feof(pb)){ tag = avio_rl32(pb); fsize = avio_rl32(pb); if(tag == MKTAG('d', 'a', 't', 'a')) break; @@ -170,7 +170,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt) return 0; } avio_seek(s->pb, c->vidpos, SEEK_SET); - while(!url_feof(s->pb) && c->frames){ + while(!avio_feof(s->pb) && c->frames){ if ((ret = avio_read(s->pb, buf, 4)) != 4) { av_log(s, AV_LOG_ERROR, "failed reading chunk type\n"); return ret < 0 ? ret : AVERROR_INVALIDDATA; -- cgit v1.1