This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit d411d9e752b9100f8d88f6f2b2bd20900148955c Author: Sylvestre Ledru <[email protected]> AuthorDate: Thu Aug 27 13:04:52 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Fri Aug 28 13:01:39 2026 +0000 vulkan_decode: use the pointee size when growing slice_off sizeof(slice_off) is the size of the uint32_t pointer, not of an entry. Harmless in practice as it over-allocates on 64-bit, but wrong, and under-allocates on targets where a pointer is smaller than uint32_t. --- libavcodec/vulkan_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c index dd5fbb4496..ab313423e5 100644 --- a/libavcodec/vulkan_decode.c +++ b/libavcodec/vulkan_decode.c @@ -255,7 +255,7 @@ int ff_vk_decode_add_slice(AVCodecContext *avctx, FFVulkanDecodePicture *vp, if (offsets) { slice_off = av_fast_realloc(dec->slice_off, &dec->slice_off_max, - (nb + 1)*sizeof(slice_off)); + (nb + 1)*sizeof(*slice_off)); if (!slice_off) return AVERROR(ENOMEM); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
