mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-14 11:21:29 +00: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:
parent
a960f3b918
commit
e6f27346b7
@ -47,7 +47,7 @@ static int pmp_header(AVFormatContext *s)
|
|||||||
uint32_t index_cnt;
|
uint32_t index_cnt;
|
||||||
int audio_codec_id = AV_CODEC_ID_NONE;
|
int audio_codec_id = AV_CODEC_ID_NONE;
|
||||||
int srate, channels;
|
int srate, channels;
|
||||||
int i;
|
unsigned i;
|
||||||
uint64_t pos;
|
uint64_t pos;
|
||||||
int64_t fsize = avio_size(pb);
|
int64_t fsize = avio_size(pb);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user