Commit d2bf7ccf authored by Jan Gerber's avatar Jan Gerber
Browse files

fix twopass encoding

parent e712e94f
......@@ -1786,6 +1786,7 @@ void ff2theora_close(ff2theora this) {
/* clear out state */
if (info.passno != 1)
free_subtitles(this);
this->context = NULL;
if (info.twopass != 3) {
av_free(this);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment