Commit 52fa5cea authored by Michael Niedermayer's avatar Michael Niedermayer

amrnbdec: silence a warning about unsigned cant be negative

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bdfffa66
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment