diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index fdd0dd2a88..a60bdfeade 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -362,8 +362,9 @@ static void mxf_free_metadataset(MXFMetadataSet **ctx, int freectx) default: break; } - if (freectx) - av_freep(ctx); + if (freectx) { + av_freep(ctx); + } } static int64_t klv_decode_ber_length(AVIOContext *pb)