History

vulkan_decode: fix typo when setting AV1 capabilities

All pNext chained structs in Vulkan are defined as void *, so it doesn't help catch this.

Lynne committed 3 years ago

Commit 9f9534f1 parent ee664f41 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/vulkan_decode.c+1−1
@@ -671,7 +671,7 @@ static VkResult vulkan_setup_profile(AVCodecContext *avctx, · 670 unmodified lines
671671 h265_profile->sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_INFO_KHR;
672672 h265_profile->stdProfileIdc = cur_profile;
673673 } else if (avctx->codec_id == AV_CODEC_ID_AV1) {
674− dec_caps->pNext = &av1_caps;
674+ dec_caps->pNext = av1_caps;
675675 usage->pNext = av1_profile;
676676 av1_profile->sType = VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_MESA;
677677 av1_profile->stdProfileIdc = cur_profile;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t