projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdfffa6
)
amrnbdec: silence a warning about unsigned cant be negative
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 5 Sep 2012 22:41:51 +0000
(
00:41
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 5 Sep 2012 23:18:55 +0000
(
01:18
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/amrnbdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/amrnbdec.c
b/libavcodec/amrnbdec.c
index
b6b93dc
..
32b754f
100644
(file)
--- a/
libavcodec/amrnbdec.c
+++ b/
libavcodec/amrnbdec.c
@@
-492,7
+492,7
@@
static void decode_8_pulses_31bits(const int16_t *fixed_index,
static void decode_fixed_sparse(AMRFixed *fixed_sparse, const uint16_t *pulses,
const enum Mode mode, const int subframe)
{
- av_assert1(MODE_4k75 <= mode && mode <= MODE_12k2);
+ av_assert1(MODE_4k75 <=
(signed)
mode && mode <= MODE_12k2);
if (mode == MODE_12k2) {
ff_decode_10_pulses_35bits(pulses, fixed_sparse, gray_decode, 5, 3);