From d34ec64a22907173c13e687b815d94618d2dc85b Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 7 Aug 2014 17:12:41 -0300 Subject: replace calls to url_feof() with avio_feof() Signed-off-by: James Almer Signed-off-by: Michael Niedermayer --- libavformat/redspark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/redspark.c') diff --git a/libavformat/redspark.c b/libavformat/redspark.c index 6d4c8c5c1a..13a7b37d25 100644 --- a/libavformat/redspark.c +++ b/libavformat/redspark.c @@ -143,7 +143,7 @@ static int redspark_read_packet(AVFormatContext *s, AVPacket *pkt) uint32_t size = 8 * codec->channels; int ret; - if (url_feof(s->pb) || redspark->samples_count == s->streams[0]->duration) + if (avio_feof(s->pb) || redspark->samples_count == s->streams[0]->duration) return AVERROR_EOF; ret = av_get_packet(s->pb, pkt, size); -- cgit v1.2.3