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

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


>From 60240ee0a5af6cab30500887d85dcc8d307165cd 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 (and part of #21694).

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 ab33e90090..e7c6764573 100644
--- a/libavcodec/tableprint_vlc.h
+++ b/libavcodec/tableprint_vlc.h
@@ -28,7 +28,7 @@
 #define ff_dlog(a, ...) while(0)
 #define ff_tlog(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