summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-06 00:41:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-06 01:18:55 +0200
commit52fa5cea0377974618e8c6486ee0830c2ed9d96a (patch)
treed023fe07ddf6600831429ce4ef4169c50c87c531
parentbdfffa66a051909239781b9108b2cbe0fdc85f3d (diff)
downloadffmpeg-streaming-52fa5cea0377974618e8c6486ee0830c2ed9d96a.zip
ffmpeg-streaming-52fa5cea0377974618e8c6486ee0830c2ed9d96a.tar.gz
amrnbdec: silence a warning about unsigned cant be negative
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/amrnbdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c
index b6b93dc..32b754f 100644
--- 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);
OpenPOWER on IntegriCloud