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/electronicarts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/electronicarts.c') diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 4abf0223e2..a43cfc8d66 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -109,7 +109,7 @@ static int process_audio_header_elements(AVFormatContext *s) ea->sample_rate = -1; ea->num_channels = 1; - while (!url_feof(pb) && inHeader) { + while (!pb->eof_reached && inHeader) { int inSubheader; uint8_t byte; byte = avio_r8(pb); @@ -118,7 +118,7 @@ static int process_audio_header_elements(AVFormatContext *s) case 0xFD: av_log (s, AV_LOG_DEBUG, "entered audio subheader\n"); inSubheader = 1; - while (!url_feof(pb) && inSubheader) { + while (!pb->eof_reached && inSubheader) { uint8_t subbyte; subbyte = avio_r8(pb); -- cgit v1.2.3