diff options
author | James Almer <jamrial@gmail.com> | 2024-06-11 13:50:07 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-06-13 20:36:09 -0300 |
commit | 1b9af306da36a9e5b2e786b07cad50c5ba8c203f (patch) | |
tree | 06c6306cf83dbcd45469be9f9f58971cec15f91c /libavcodec/pixlet.c | |
parent | 4b57ea8fc74aefb0eaba90ae4b73931a217f8f33 (diff) | |
download | ffmpeg-1b9af306da36a9e5b2e786b07cad50c5ba8c203f.tar.gz |
avcodec: use the renamed av_zero_extend
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/pixlet.c')
-rw-r--r-- | libavcodec/pixlet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/pixlet.c b/libavcodec/pixlet.c index b3baaf6260..6b6e39f275 100644 --- a/libavcodec/pixlet.c +++ b/libavcodec/pixlet.c @@ -162,7 +162,7 @@ static int read_low_coeffs(AVCodecContext *avctx, int16_t *dst, int size, continue; nbits = ((state + 8) >> 5) + (state ? ff_clz(state) : 32) - 24; - escape = av_mod_uintp2(16383, nbits); + escape = av_zero_extend(16383, nbits); cnt1 = get_unary(bc, 0, 8); if (cnt1 > 7) { rlen = get_bits(bc, 16); @@ -269,7 +269,7 @@ static int read_high_coeffs(AVCodecContext *avctx, const uint8_t *src, int16_t * continue; pfx = ((state + 8) >> 5) + (state ? ff_clz(state) : 32) - 24; - escape = av_mod_uintp2(16383, pfx); + escape = av_zero_extend(16383, pfx); cnt1 = get_unary(bc, 0, 8); if (cnt1 < 8) { if (pfx < 1 || pfx > 25) |