diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-12-12 21:22:22 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-12-13 20:03:08 +0400 |
commit | 4badb386cee42569e2e1a1c6981a33c065ebf2de (patch) | |
tree | 50d4e2bf90152bcf9d3bc5199f83b86b14b05c1d /libavformat | |
parent | d32eed5c73744c25625a9fb66c48e57f2d0b433d (diff) |
lavf: dealloc private options in av_write_trailer
Fix the iformat/oformat typo.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index a078d9c88b..f42428563d 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; |