Module: Mesa Branch: main Commit: fbc9811241c3528b07f0e8bf6b6512a207f5d471 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fbc9811241c3528b07f0e8bf6b6512a207f5d471
Author: Hyunjun Ko <[email protected]> Date: Fri Nov 10 10:28:57 2023 +0900 vulkan/video: fix a typo Fixes: d46162981a78 ("vulkan/video: add h264 headers encode") Signed-off-by: Hyunjun Ko <[email protected]> Acked-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26139> --- src/vulkan/runtime/vk_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/runtime/vk_video.c b/src/vulkan/runtime/vk_video.c index 706e6d0a8d0..2ec84b3ff1b 100644 --- a/src/vulkan/runtime/vk_video.c +++ b/src/vulkan/runtime/vk_video.c @@ -1531,7 +1531,7 @@ vk_video_encode_h264_pps(StdVideoH264PictureParameterSet *pps, vl_bitstream_encoder_clear(&enc, data_ptr, data_size, size_limit); - emit_nalu_header(&enc, 3, H264_NAL_SPS); + emit_nalu_header(&enc, 3, H264_NAL_PPS); vl_bitstream_exp_golomb_ue(&enc, pps->pic_parameter_set_id); vl_bitstream_exp_golomb_ue(&enc, pps->seq_parameter_set_id);
