aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/put_golomb.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-06-11 13:50:07 -0300
committerJames Almer <jamrial@gmail.com>2024-06-13 20:36:09 -0300
commit1b9af306da36a9e5b2e786b07cad50c5ba8c203f (patch)
tree06c6306cf83dbcd45469be9f9f58971cec15f91c /libavcodec/put_golomb.h
parent4b57ea8fc74aefb0eaba90ae4b73931a217f8f33 (diff)
downloadffmpeg-1b9af306da36a9e5b2e786b07cad50c5ba8c203f.tar.gz
avcodec: use the renamed av_zero_extend
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/put_golomb.h')
-rw-r--r--libavcodec/put_golomb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/put_golomb.h b/libavcodec/put_golomb.h
index df47fd2c0a..43c1233fdb 100644
--- a/libavcodec/put_golomb.h
+++ b/libavcodec/put_golomb.h
@@ -103,7 +103,7 @@ static inline void set_ur_golomb(PutBitContext *pb, int i, int k, int limit,
e = i >> k;
if (e < limit)
- put_bits(pb, e + k + 1, (1 << k) + av_mod_uintp2(i, k));
+ put_bits(pb, e + k + 1, (1 << k) + av_zero_extend(i, k));
else
put_bits(pb, limit + esc_len, i - limit + 1);
}