[FFmpeg-cvslog] fftools/textformat: remove noop free

Marvin Scholz git at videolan.org
Fri Jun 27 00:43:16 EEST 2025


ffmpeg | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jun 11 22:30:31 2025 +0200| [564a0784bb9eb5ca259f128337781fd53e224e1b] | committer: Marvin Scholz

fftools/textformat: remove noop free

The tctx->hash was freed already right before.

Reviewed-by: softworkz <softworkz at hotmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=564a0784bb9eb5ca259f128337781fd53e224e1b
---

 fftools/textformat/avtextformat.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c
index f1811abb1c..fa5abce261 100644
--- a/fftools/textformat/avtextformat.c
+++ b/fftools/textformat/avtextformat.c
@@ -108,8 +108,6 @@ int avtext_context_close(AVTextFormatContext **ptctx)
 
     av_hash_freep(&tctx->hash);
 
-    av_hash_freep(&tctx->hash);
-
     if (tctx->formatter) {
         if (tctx->formatter->uninit)
             ret = tctx->formatter->uninit(tctx);



More information about the ffmpeg-cvslog mailing list