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/spdifdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/spdifdec.c') diff --git a/libavformat/spdifdec.c b/libavformat/spdifdec.c index 8a6b79dd52..0ca66118f0 100644 --- a/libavformat/spdifdec.c +++ b/libavformat/spdifdec.c @@ -171,7 +171,7 @@ static int spdif_read_packet(AVFormatContext *s, AVPacket *pkt) while (state != (AV_BSWAP16C(SYNCWORD1) << 16 | AV_BSWAP16C(SYNCWORD2))) { state = (state << 8) | avio_r8(pb); - if (url_feof(pb)) + if (pb->eof_reached) return AVERROR_EOF; } -- cgit v1.2.3