PR #21701 opened by Certseeds
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21701
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/21701.patch

Forgotten in beec7084e4cc353acf6e208ee714990090f546be
Fixes issue #21102  (and part of #21694).



>From 9952176ef74875efac4a2b03f62c4216a9943f41 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <[email protected]>
Date: Thu, 4 Dec 2025 18:42:02 +0100
Subject: [PATCH] avcodec/tableprint_vlc: Unbreak hardcoded tables

Forgotten in d8ffec5bf9a2803f55cc0822a97b7815f24bee83.
Fixes issue #21102.

Signed-off-by: Andreas Rheinhardt <[email protected]>
(cherry picked from commit 1d47ae65bf6df91246cbe25c997b25947f7a4d1d)
---
 libavcodec/tableprint_vlc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tableprint_vlc.h b/libavcodec/tableprint_vlc.h
index b97c1f9cfb..e42bf08a71 100644
--- a/libavcodec/tableprint_vlc.h
+++ b/libavcodec/tableprint_vlc.h
@@ -27,7 +27,7 @@
 #define av_log(a, ...) while(0)
 #define ff_dlog(a, ...) while(0)
 #define AVUTIL_MEM_H
-#define av_malloc(s) NULL
+#define av_mallocz(s) NULL
 #define av_malloc_array(a, b) NULL
 #define av_realloc_f(p, o, n) NULL
 #define av_free(p) while(0)
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to