提交 4badb386 编写于 作者: L Luca Barbato

lavf: dealloc private options in av_write_trailer

Fix the iformat/oformat typo.
上级 d32eed5c
......@@ -3261,7 +3261,7 @@ fail:
av_freep(&s->streams[i]->priv_data);
av_freep(&s->streams[i]->index_entries);
}
if (s->iformat && s->iformat->priv_class)
if (s->oformat->priv_class)
av_opt_free(s->priv_data);
av_freep(&s->priv_data);
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册