diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-08-23 22:05:58 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-08-24 22:51:25 +0200 |
commit | 9d0da996f065cc833517eb41ee031545c276520a (patch) | |
tree | a0290f8d043535fb5a6162e46eb3d222664221d1 /libavcodec | |
parent | 15a89a9422ddd596c1ff193bcec56b5d7b26af62 (diff) | |
download | ffmpeg-9d0da996f065cc833517eb41ee031545c276520a.tar.gz |
avcodec/vulkan_decode: fix struct type for h265_profile
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vulkan_decode.c | 2 | ||||
-rw-r--r-- | libavcodec/vulkan_decode.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c index f20733fb39..04350578f9 100644 --- a/libavcodec/vulkan_decode.c +++ b/libavcodec/vulkan_decode.c @@ -682,7 +682,7 @@ static VkResult vulkan_setup_profile(AVCodecContext *avctx, VkVideoProfileListInfoKHR *profile_list = &prof->profile_list; VkVideoDecodeH264ProfileInfoKHR *h264_profile = &prof->h264_profile; - VkVideoDecodeH264ProfileInfoKHR *h265_profile = &prof->h265_profile; + VkVideoDecodeH265ProfileInfoKHR *h265_profile = &prof->h265_profile; VkVideoDecodeAV1ProfileInfoMESA *av1_profile = &prof->av1_profile; const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->sw_pix_fmt); diff --git a/libavcodec/vulkan_decode.h b/libavcodec/vulkan_decode.h index 0aaa2e2de0..c50527e5f8 100644 --- a/libavcodec/vulkan_decode.h +++ b/libavcodec/vulkan_decode.h @@ -27,7 +27,7 @@ typedef struct FFVulkanDecodeProfileData { VkVideoDecodeH264ProfileInfoKHR h264_profile; - VkVideoDecodeH264ProfileInfoKHR h265_profile; + VkVideoDecodeH265ProfileInfoKHR h265_profile; VkVideoDecodeAV1ProfileInfoMESA av1_profile; VkVideoDecodeUsageInfoKHR usage; VkVideoProfileInfoKHR profile; |