OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a960f3b
)
pmpdec: make i unsigned, avoid undefined behavior of i++
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 24 Feb 2013 22:37:47 +0000
(23:37 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 25 Feb 2013 17:36:21 +0000
(18:36 +0100)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/pmpdec.c
patch
|
blob
|
history
diff --git
a/libavformat/pmpdec.c
b/libavformat/pmpdec.c
index
3b8c5f7
..
e0394a9
100644
(file)
--- 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);