mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-19 13:27:00 +00:00
dca: don't use av_clip_uintp2().
The argument is not a literal, thus causing the ARM v6 or later builds to break. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
This commit is contained in:
parent
ce15406e78
commit
b594732475
@ -644,7 +644,7 @@ static inline int get_scale(GetBitContext *gb, int level, int value, int log2ran
|
||||
if (level < 5) {
|
||||
/* huffman encoded */
|
||||
value += get_bitalloc(gb, &dca_scalefactor, level);
|
||||
value = av_clip_uintp2(value, log2range);
|
||||
value = av_clip(value, 0, (1 << log2range) - 1);
|
||||
} else if (level < 8) {
|
||||
if (level + 1 > log2range) {
|
||||
skip_bits(gb, level + 1 - log2range);
|
||||
|
Loading…
Reference in New Issue
Block a user