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);