History

fftools/textformat: remove leftover comments in mermaid_print_value

Remove some leftover commented code and an extraneous semicolon.

Marvin Scholz committed 1 year ago

Commit 7771a4e1 parent 0578d4a1 file · +1 −4Browse files

Unified · Split

fftools/textformat/tf_mermaid.c+1−4
@@ -575,7 +575,7 @@ static void mermaid_print_value(AVTextFormatContext *tfc, const char *key, · 574 unmodified lines
575 }575 }
576 576
577 if (section->linktype_key && !strcmp(section->linktype_key, key)) {577 if (section->linktype_key && !strcmp(section->linktype_key, key)) {
578 mmc->section_data[tfc->level].link_type = (AVTextFormatLinkType)num;;578 mmc->section_data[tfc->level].link_type = (AVTextFormatLinkType)num;
579 exit = 1;579 exit = 1;
580 }580 }
581 581
@@ -590,10 +590,7 @@ static void mermaid_print_value(AVTextFormatContext *tfc, const char *key, · 8 unmodified lines
590 if (is_int) {590 if (is_int) {
591 writer_printf(tfc, "<span class=\"%s\">%s: %"PRId64"</span>", key, key, num);591 writer_printf(tfc, "<span class=\"%s\">%s: %"PRId64"</span>", key, key, num);
592 } else {592 } else {
593 ////AVBPrint b;
594 ////av_bprint_init(&b, 0, AV_BPRINT_SIZE_UNLIMITED);
595 const char *tmp = av_strireplace(str, "\"", "'");593 const char *tmp = av_strireplace(str, "\"", "'");
596 ////av_bprint_escape(&b, str, NULL, AV_ESCAPE_MODE_AUTO, AV_ESCAPE_FLAG_STRICT);
597 writer_printf(tfc, "<span class=\"%s\">%s</span>", key, tmp);594 writer_printf(tfc, "<span class=\"%s\">%s</span>", key, tmp);
598 av_freep(&tmp);595 av_freep(&tmp);
599 }596 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t