From e6f27346b752914aab949aa8fc98928475d47075 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 24 Feb 2013 23:37:47 +0100 Subject: pmpdec: make i unsigned, avoid undefined behavior of i++ Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavformat/pmpdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/pmpdec.c b/libavformat/pmpdec.c index 3b8c5f7013..e0394a9513 100644 --- a/libavformat/pmpdec.c +++ b/libavformat/pmpdec.c @@ -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); -- cgit v1.2.3