1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-07 10:21:53 +02:00

pmpdec: make i unsigned, avoid undefined behavior of i++

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-02-24 23:37:47 +01:00
parent a960f3b918
commit e6f27346b7

View File

@ -47,7 +47,7 @@ static int pmp_header(AVFormatContext *s)
uint32_t index_cnt;
int audio_codec_id = AV_CODEC_ID_NONE;
int srate, channels;
int i;
unsigned i;
uint64_t pos;
int64_t fsize = avio_size(pb);