1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

lavf: dealloc private options in av_write_trailer

Fix the iformat/oformat typo.
This commit is contained in:
Luca Barbato 2011-12-12 18:22:22 +01:00
parent d32eed5c73
commit 4badb386ce

View File

@ -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;