X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2F4xm.c;h=daf389dc266709a70ddb0e8611a38c3dd38bcc3a;hb=adba796eb4a5373d781e093988f9aa0c3418c6b6;hp=0b4ddfabf2634353f8e642c4401f6d3d30e6ac2b;hpb=79d0e164cfef96d77cca5b056fcf097a4c63a28e;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: