diff options
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/opt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c index 445537fbad..8ffb10449b 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1729,6 +1729,10 @@ void av_opt_free(void *obj) av_dict_free((AVDictionary **)(((uint8_t *)obj) + o->offset)); break; + case AV_OPT_TYPE_CHLAYOUT: + av_channel_layout_uninit((AVChannelLayout *)(((uint8_t *)obj) + o->offset)); + break; + default: break; } |