avcodec/vulkan_decode: fix struct type for h265_profile

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
pull/390/head
Kacper Michajłow 2 years ago committed by Lynne
parent 15a89a9422
commit 9d0da996f0
  1. 2
      libavcodec/vulkan_decode.c
  2. 2
      libavcodec/vulkan_decode.h

@ -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);

@ -27,7 +27,7 @@
typedef struct FFVulkanDecodeProfileData {
VkVideoDecodeH264ProfileInfoKHR h264_profile;
VkVideoDecodeH264ProfileInfoKHR h265_profile;
VkVideoDecodeH265ProfileInfoKHR h265_profile;
VkVideoDecodeAV1ProfileInfoMESA av1_profile;
VkVideoDecodeUsageInfoKHR usage;
VkVideoProfileInfoKHR profile;

Loading…
Cancel
Save