[FFmpeg-devel] [PATCH] avutil/tx: Use proper deallocator

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Nov 25 16:27:36 EET 2022


May fix the FATE failures on x64 Windows here:
https://fate.ffmpeg.org/report.cgi?slot=x86_64-msvc17-windows-native&time=20221125130443

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavutil/tx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/tx.c b/libavutil/tx.c
index c692239656..e25abf998f 100644
--- a/libavutil/tx.c
+++ b/libavutil/tx.c
@@ -857,7 +857,7 @@ av_cold int ff_tx_init_subtx(AVTXContext *s, enum AVTXType type,
                 for (int i = 0; i < len; i++)
                     sctx->map[tmp[i]] = i;
 
-                free(tmp);
+                av_free(tmp);
             }
 
             s->nb_sub++;
-- 
2.34.1



More information about the ffmpeg-devel mailing list