diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-12-12 18:22:22 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-12-13 17:03:08 +0100 |
commit | 4badb386cee42569e2e1a1c6981a33c065ebf2de (patch) | |
tree | 50d4e2bf90152bcf9d3bc5199f83b86b14b05c1d | |
parent | d32eed5c73744c25625a9fb66c48e57f2d0b433d (diff) | |
download | ffmpeg-4badb386cee42569e2e1a1c6981a33c065ebf2de.tar.gz |
lavf: dealloc private options in av_write_trailer
Fix the iformat/oformat typo.
-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; |