ffmpeg | branch: master | Marvin Scholz <epira...@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 <softwo...@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);

_______________________________________________
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