Commit 4badb386 authored by Luca Barbato's avatar Luca Barbato

lavf: dealloc private options in av_write_trailer

Fix the iformat/oformat typo.
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment