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
575575 }
576576
577577 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;
579579 exit = 1;
580580 }
581581
@@ -590,10 +590,7 @@ static void mermaid_print_value(AVTextFormatContext *tfc, const char *key, · 8 unmodified lines
590590 if (is_int) {
591591 writer_printf(tfc, "<span class=\"%s\">%s: %"PRId64"</span>", key, key, num);
592592 } else {
593− ////AVBPrint b;
594− ////av_bprint_init(&b, 0, AV_BPRINT_SIZE_UNLIMITED);
595593 const char *tmp = av_strireplace(str, "\"", "'");
596− ////av_bprint_escape(&b, str, NULL, AV_ESCAPE_MODE_AUTO, AV_ESCAPE_FLAG_STRICT);
597594 writer_printf(tfc, "<span class=\"%s\">%s</span>", key, tmp);
598595 av_freep(&tmp);
599596 }

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