1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

cdxl: use url_feof()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2012-11-21 16:36:05 +00:00
parent f6c4395374
commit e4e7846db8

View File

@ -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);