This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 68fa1f7f486c444e74fbb20917278730a9c630ed Author: Zhao Zhili <[email protected]> AuthorDate: Thu Jul 9 20:51:07 2026 +0800 Commit: Lynne <[email protected]> CommitDate: Sun Jul 12 13:47:24 2026 +0900 libavutil/vulkan: fix elem_size computation in vulkan_export_to_cuda (cherry picked from commit b4b30ff8fd1580c4fc1330afdf6c8fde242e1754) --- libavutil/hwcontext_vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index fad35f9ad6..2de2de7e93 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -3875,7 +3875,7 @@ static int vulkan_export_to_cuda(AVHWFramesContext *hwfc, CudaFunctions *cu = cu_internal->cuda_dl; CUarray_format cufmt = desc->comp[0].depth > 8 ? CU_AD_FORMAT_UNSIGNED_INT16 : CU_AD_FORMAT_UNSIGNED_INT8; - const int elem_size = 1 + desc->comp[0].depth > 8; + const int elem_size = 1 + (desc->comp[0].depth > 8); dst_f = (AVVkFrame *)frame->data[0]; dst_int = dst_f->internal; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
