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/adpcm.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/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 59b9ef3497..f63afefd63 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -493,7 +493,7 @@ static inline int16_t adpcm_ima_wav_expand_nibble(ADPCMChannelStatus *c, GetBitC step_index = av_clip(step_index, 0, 88); sign = nibble & (1 << shift); - delta = av_mod_uintp2(nibble, shift); + delta = av_zero_extend(nibble, shift); diff = ((2 * delta + 1) * step) >> shift; predictor = c->predictor; if (sign) predictor -= diff; |