aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Scholz <epirat07@gmail.com>2025-06-26 23:30:02 +0200
committerMarvin Scholz <epirat07@gmail.com>2025-07-05 02:35:00 +0200
commit05094c1749f15b1274f554df687b354116f0acc3 (patch)
treeedbdfea4e5ea9aa6a770b61ec8fc1c00402288ba
parentbf5f3f1f2e6ef56b060c454de9d27c6aabf30b78 (diff)
downloadffmpeg-05094c1749f15b1274f554df687b354116f0acc3.tar.gz
fftools/textformat: remove unreachable code in tf_mermaid
Integer writing is impossible here as the first branch was dead code, so remove it completely. Fix CID 1646948 Reviewed-by: softworkz <softworkz@hotmail.com>
-rw-r--r--fftools/textformat/tf_mermaid.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fftools/textformat/tf_mermaid.c b/fftools/textformat/tf_mermaid.c
index 3d864c2e3e..6af58d58c2 100644
--- a/fftools/textformat/tf_mermaid.c
+++ b/fftools/textformat/tf_mermaid.c
@@ -616,10 +616,7 @@ static void mermaid_print_value(AVTextFormatContext *tfc, const char *key,
MM_INDENT();
- if (is_int)
- writer_printf(tfc, " %s %"PRId64" %s\n", key, num, col_type);
- else
- writer_printf(tfc, " %s %s %s\n", key, str, col_type);
+ writer_printf(tfc, " %s %s %s\n", key, str, col_type);
}
break;
}