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/psxstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/psxstr.c') diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index 744ae94459..3b0780b6ea 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@ -241,7 +241,7 @@ static int str_read_packet(AVFormatContext *s, break; } - if (url_feof(pb)) + if (pb->eof_reached) return AVERROR(EIO); } } -- cgit v1.2.3