aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vulkan_hevc.c
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/vulkan_hevc.c
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/vulkan_hevc.c')
-rw-r--r--libavcodec/vulkan_hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vulkan_hevc.c b/libavcodec/vulkan_hevc.c
index 33a6326297..5228e41ad5 100644
--- a/libavcodec/vulkan_hevc.c
+++ b/libavcodec/vulkan_hevc.c
@@ -374,7 +374,7 @@ static void set_sps(const HEVCSPS *sps, int sps_idx,
/* NOTE: This is the predicted, and *reordered* version.
* Probably incorrect, but the spec doesn't say which version to use. */
str[i].used_by_curr_pic_flag = st_rps->used;
- str[i].used_by_curr_pic_s0_flag = av_mod_uintp2(st_rps->used, str[i].num_negative_pics);
+ str[i].used_by_curr_pic_s0_flag = av_zero_extend(st_rps->used, str[i].num_negative_pics);
str[i].used_by_curr_pic_s1_flag = st_rps->used >> str[i].num_negative_pics;
for (int j = 0; j < str[i].num_negative_pics; j++)