Browse Source

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>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
e6f27346b7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/pmpdec.c

+ 1
- 1
libavformat/pmpdec.c 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);



Loading…
Cancel
Save