Remove some leftover commented code and an extraneous semicolon.
Unified · Split
| @@ -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 | } |