diff --git a/libavformat/avs.c b/libavformat/avs.c index b699dbf9ba..d1811ab1e0 100644 --- a/libavformat/avs.c +++ b/libavformat/avs.c @@ -123,7 +123,8 @@ avs_read_video_packet(AVFormatContext * s, AVPacket * pkt, static int avs_read_audio_packet(AVFormatContext * s, AVPacket * pkt) { AvsFormat *avs = s->priv_data; - int ret, size; + int ret; + int64_t size; size = avio_tell(s->pb); ret = ff_voc_get_packet(s, pkt, avs->st_audio, avs->remaining_audio_size);