|
|
@@ -84,7 +84,7 @@ static void purge_dialogues(AVFormatContext *s, int force) |
|
|
avio_printf(s->pb, "Dialogue: %s\r\n", dialogue->line); |
|
|
avio_printf(s->pb, "Dialogue: %s\r\n", dialogue->line); |
|
|
if (dialogue == ass->last_added_dialogue) |
|
|
if (dialogue == ass->last_added_dialogue) |
|
|
ass->last_added_dialogue = next; |
|
|
ass->last_added_dialogue = next; |
|
|
av_free(dialogue->line); |
|
|
|
|
|
|
|
|
av_freep(&dialogue->line); |
|
|
av_free(dialogue); |
|
|
av_free(dialogue); |
|
|
if (next) |
|
|
if (next) |
|
|
next->prev = NULL; |
|
|
next->prev = NULL; |
|
|
|