mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
lavf: dealloc private options in av_write_trailer
Fix the iformat/oformat typo.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user