Skip to content

Commit dbec2b1

Browse files
committed
VulkanH264Decoder: change max sps/pss
Change to 255
1 parent e0c20a7 commit dbec2b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vk_video_decoder/libs/NvVideoParser/include/VulkanH264Decoder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,8 @@ typedef bool (*PFNSORTCHECK)(int, int *, const DPBPicNum *, const VkParserPictur
737737
class VulkanH264Decoder: public VulkanVideoDecoder
738738
{
739739
public:
740-
enum { MAX_NUM_SPS = 32 };
741-
enum { MAX_NUM_PPS = 256 };
740+
enum { MAX_NUM_SPS = 31 };
741+
enum { MAX_NUM_PPS = 255 };
742742

743743
public:
744744
VulkanH264Decoder(VkVideoCodecOperationFlagBitsKHR std);

0 commit comments

Comments
 (0)