This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 810459c0ba9a61d0971c1e5a38817f99950ff284 Author: Niklas Haas <[email protected]> AuthorDate: Sat Nov 7 13:40:27 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sun Nov 8 01:48:12 2026 +0000 swscale/uops: use ff_refstruct_calloc() Signed-off-by: Niklas Haas <[email protected]> --- libswscale/uops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libswscale/uops.c b/libswscale/uops.c index 4f19ee33f0..a03c08ae43 100644 --- a/libswscale/uops.c +++ b/libswscale/uops.c @@ -30,6 +30,7 @@ #include "ops.h" #include "uops.h" #include "uops_list.h" +#include "swscale_internal.h" int ff_sws_uop_cmp(const SwsUOp *a, const SwsUOp *b) { @@ -484,7 +485,7 @@ static int translate_dither_op(SwsUOpList *ops, SwsUOpFlags flags, const SwsOp * * typically 320 bytes for a 16x16 dither matrix. */ const int stride = size * sizeof(SwsPixel); const int num_rows = ff_sws_dither_height(&uop.par.dither); - SwsPixel *matrix = uop.data.ptr = av_refstruct_allocz(num_rows * stride); + SwsPixel *matrix = uop.data.ptr = ff_refstruct_calloc(num_rows, stride); if (!matrix) 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]
