diff --git a/libavformat/4xm.c b/libavformat/4xm.c index e93095cb09..8e2d305b24 100644 --- a/libavformat/4xm.c +++ b/libavformat/4xm.c @@ -298,7 +298,7 @@ static int fourxm_read_packet(AVFormatContext *s, unsigned int track_number; int packet_read = 0; unsigned char header[8]; - int audio_frame_count; + int64_t audio_frame_count; while (!packet_read) { if ((ret = avio_read(s->pb, header, 8)) < 0)