cdxl: use url_feof()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/8/head
Paul B Mahol 12 years ago
parent f6c4395374
commit e4e7846db8
  1. 2
      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);

Loading…
Cancel
Save