[FFmpeg-cvslog] cdxl: use url_feof()

Paul B Mahol git at videolan.org
Wed Nov 21 17:41:35 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Nov 21 16:36:05 2012 +0000| [e4e7846db830d25e68beb3908a14408fe60747a0] | committer: Paul B Mahol

cdxl: use url_feof()

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4e7846db830d25e68beb3908a14408fe60747a0
---

 libavformat/cdxl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/cdxl.c b/libavformat/cdxl.c
index 76bca57..185b745 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);



More information about the ffmpeg-cvslog mailing list