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/assdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/assdec.c') diff --git a/libavformat/assdec.c b/libavformat/assdec.c index e04d92ae65..abaf942f45 100644 --- a/libavformat/assdec.c +++ b/libavformat/assdec.c @@ -92,7 +92,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap) header_remaining= INT_MAX; dst[0] = &st->codec->extradata; dst[1] = &ass->event_buffer; - while(!url_feof(pb)){ + while(!pb->eof_reached){ uint8_t line[MAX_LINESIZE]; len = ff_get_line(pb, line, sizeof(line)); -- cgit v1.2.3