From 7771a4eecb66e1aa0ab5bf09a4f4d9cf804b1dac Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Thu, 26 Jun 2025 23:18:04 +0200 Subject: [PATCH] fftools/textformat: remove leftover comments in mermaid_print_value Remove some leftover commented code and an extraneous semicolon. Reviewed-by: softworkz --- fftools/textformat/tf_mermaid.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fftools/textformat/tf_mermaid.c b/fftools/textformat/tf_mermaid.c index 77ebf778cc..3d864c2e3e 100644 --- a/fftools/textformat/tf_mermaid.c +++ b/fftools/textformat/tf_mermaid.c @@ -575,7 +575,7 @@ static void mermaid_print_value(AVTextFormatContext *tfc, const char *key, } if (section->linktype_key && !strcmp(section->linktype_key, key)) { - mmc->section_data[tfc->level].link_type = (AVTextFormatLinkType)num;; + mmc->section_data[tfc->level].link_type = (AVTextFormatLinkType)num; exit = 1; } @@ -590,10 +590,7 @@ static void mermaid_print_value(AVTextFormatContext *tfc, const char *key, if (is_int) { writer_printf(tfc, "%s: %"PRId64"", key, key, num); } else { - ////AVBPrint b; - ////av_bprint_init(&b, 0, AV_BPRINT_SIZE_UNLIMITED); const char *tmp = av_strireplace(str, "\"", "'"); - ////av_bprint_escape(&b, str, NULL, AV_ESCAPE_MODE_AUTO, AV_ESCAPE_FLAG_STRICT); writer_printf(tfc, "%s", key, tmp); av_freep(&tmp); }