Integer writing is impossible here as the first branch was dead code,
so remove it completely.

Fix CID 1646948
---
 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 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;
         }
-- 
2.39.5 (Apple Git-154)

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

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

Reply via email to