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 | 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 | 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 | 590 | if (is_int) { |
| 591 | 591 | writer_printf(tfc, "<span class=\"%s\">%s: %"PRId64"</span>", key, key, num); |
| 592 | 592 | } else { |
| 593 | − ////AVBPrint b; | |
| 594 | − ////av_bprint_init(&b, 0, AV_BPRINT_SIZE_UNLIMITED); | |
| 595 | 593 | const char *tmp = av_strireplace(str, "\"", "'"); |
| 596 | − ////av_bprint_escape(&b, str, NULL, AV_ESCAPE_MODE_AUTO, AV_ESCAPE_FLAG_STRICT); | |
| 597 | 594 | writer_printf(tfc, "<span class=\"%s\">%s</span>", key, tmp); |
| 598 | 595 | av_freep(&tmp); |
| 599 | 596 | } |