ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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 <d...@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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++;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to