From e4e7846db830d25e68beb3908a14408fe60747a0 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 21 Nov 2012 16:36:05 +0000 Subject: [PATCH] cdxl: use url_feof() Signed-off-by: Paul B Mahol --- libavformat/cdxl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/cdxl.c b/libavformat/cdxl.c index 76bca578fb..185b745bb0 100644 --- a/libavformat/cdxl.c +++ b/libavformat/cdxl.c @@ -110,7 +110,7 @@ static int cdxl_read_packet(AVFormatContext *s, AVPacket *pkt) int64_t pos; int ret; - if (pb->eof_reached) + if (url_feof(pb)) return AVERROR_EOF; pos = avio_tell(pb);