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/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tty.c') diff --git a/libavformat/tty.c b/libavformat/tty.c index 71c00e7e0a..8af245ae60 100644 --- a/libavformat/tty.c +++ b/libavformat/tty.c @@ -106,7 +106,7 @@ static int read_packet(AVFormatContext *avctx, AVPacket *pkt) TtyDemuxContext *s = avctx->priv_data; int n; - if (url_feof(avctx->pb)) + if (avctx->pb->eof_reached) return AVERROR_EOF; n = s->chars_per_frame; -- cgit v1.2.3