From 66e5b1df360a28b083bc9ec5a76e7add5f40ce1f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 7 Mar 2011 21:50:25 +0100 Subject: avio: deprecate url_feof AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje --- libavformat/iff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/iff.c') diff --git a/libavformat/iff.c b/libavformat/iff.c index dd69ce8ca5..3e329343a4 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -138,7 +138,7 @@ static int iff_read_header(AVFormatContext *s, // codec_tag used by ByteRun1 decoder to distinguish progressive (PBM) and interlaced (ILBM) content st->codec->codec_tag = avio_rl32(pb); - while(!url_feof(pb)) { + while(!pb->eof_reached) { uint64_t orig_pos; int res; const char *metadata_tag = NULL; -- cgit v1.2.3