[FFmpeg-cvslog] avutil/tx: Use proper deallocator
Andreas Rheinhardt
git at videolan.org
Fri Nov 25 16:55:01 EET 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Nov 25 15:26:38 2022 +0100| [1a7efafd33b1597d218da64b08fb1144ab65822b] | committer: Andreas Rheinhardt
avutil/tx: Use proper deallocator
May fix the FATE failures on x64 Windows here:
https://fate.ffmpeg.org/report.cgi?slot=x86_64-msvc17-windows-native&time=20221125130443
Reviewed-by: Lynne <dev at lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1a7efafd33b1597d218da64b08fb1144ab65822b
---
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++;
More information about the ffmpeg-cvslog
mailing list