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/tmv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/tmv.c') diff --git a/libavformat/tmv.c b/libavformat/tmv.c index c632988e18..1116ca0369 100644 --- a/libavformat/tmv.c +++ b/libavformat/tmv.c @@ -146,7 +146,7 @@ static int tmv_read_packet(AVFormatContext *s, AVPacket *pkt) int ret, pkt_size = tmv->stream_index ? tmv->audio_chunk_size : tmv->video_chunk_size; - if (url_feof(pb)) + if (pb->eof_reached) return AVERROR_EOF; ret = av_get_packet(pb, pkt, pkt_size); -- cgit v1.2.3