This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit cc0c782634ad9912b30074217270ca740ec1f751 Author: Niklas Haas <[email protected]> AuthorDate: Sat Nov 7 13:39:49 2026 +0100 Commit: Niklas Haas <[email protected]> CommitDate: Sun Nov 8 01:48:12 2026 +0000 swscale/format: use ff_refstruct_calloc() Signed-off-by: Niklas Haas <[email protected]> --- libswscale/format.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libswscale/format.c b/libswscale/format.c index c3d3a88968..f14737f649 100644 --- a/libswscale/format.c +++ b/libswscale/format.c @@ -29,6 +29,7 @@ #include "csputils.h" #include "ops_internal.h" #include "config_components.h" +#include "swscale_internal.h" #define RET(x) \ do { \ @@ -1329,7 +1330,7 @@ static AVRational64 *generate_bayer_matrix(const int size_log2) { const int size = 1 << size_log2; const int num_entries = size * size; - AVRational64 *m = av_refstruct_allocz(sizeof(*m) * num_entries); + AVRational64 *m = ff_refstruct_calloc(num_entries, sizeof(*m)); av_assert1(size_log2 < 16); if (!m) return NULL; -- 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]
