forked from FFmpeg/FFmpeg
lavf: dealloc private options in av_write_trailer
Fix the iformat/oformat typo.
This commit is contained in:
parent
d32eed5c73
commit
4badb386ce
1 changed files with 1 additions and 1 deletions
|
@ -3261,7 +3261,7 @@ fail:
|
||||||
av_freep(&s->streams[i]->priv_data);
|
av_freep(&s->streams[i]->priv_data);
|
||||||
av_freep(&s->streams[i]->index_entries);
|
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_opt_free(s->priv_data);
|
||||||
av_freep(&s->priv_data);
|
av_freep(&s->priv_data);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Reference in a new issue