diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-24 23:37:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-25 18:36:21 +0100 |
commit | e6f27346b752914aab949aa8fc98928475d47075 (patch) | |
tree | 5c214ee9d5e4941f57935a4b52a1933ac1a6e518 /libavformat | |
parent | a960f3b91876d50d9a1bff63d11b2a5a6a16fd89 (diff) | |
download | ffmpeg-e6f27346b752914aab949aa8fc98928475d47075.tar.gz |
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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/pmpdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |