X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2F4xm.c;h=daf389dc266709a70ddb0e8611a38c3dd38bcc3a;hb=609d5db8035c868be034892a33762779a40ab8b9;hp=0b4ddfabf2634353f8e642c4401f6d3d30e6ac2b;hpb=073c074447c253111790c0472fb83f184e66814e;p=ffmpeg diff --git a/libavformat/4xm.c b/libavformat/4xm.c index 0b4ddfabf26..daf389dc266 100644 --- a/libavformat/4xm.c +++ b/libavformat/4xm.c @@ -293,7 +293,7 @@ static int fourxm_read_packet(AVFormatContext *s, return ret; fourcc_tag = AV_RL32(&header[0]); size = AV_RL32(&header[4]); - if (url_feof(pb)) + if (avio_feof(pb)) return AVERROR(EIO); switch (fourcc_tag) { case LIST_TAG: