diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-21 15:46:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-21 15:50:03 +0100 |
commit | 114a2eb272077b68bc8e0f2ee8fd6fc85a8e07c2 (patch) | |
tree | d11ce3dc892c86e032185994f596cd7edbdf5f44 /libavcodec/ivi_common.c | |
parent | d301a13427d970671258593ef14dc87f8e24555a (diff) | |
download | ffmpeg-114a2eb272077b68bc8e0f2ee8fd6fc85a8e07c2.tar.gz |
avcodec: Use av_clip_uintp2() where possible
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ivi_common.c')
-rw-r--r-- | libavcodec/ivi_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c index 379508123f..d27eff2c3e 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -646,7 +646,7 @@ static int ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, quant = band->glob_quant + mb->q_delta; if (avctx->codec_id == AV_CODEC_ID_INDEO4) - quant = av_clip(quant, 0, 31); + quant = av_clip_uintp2(quant, 5); else quant = av_clip(quant, 0, 23); |