aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-05-04 20:51:24 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-05-05 08:20:45 +0800
commitab7bcfb80c698a378aaab8fc7fd9408853034b78 (patch)
tree5d1ffc39d4a3108ac17c98f166ac1e40c69e0e11
parente468106269fb5b1b983d20d6b94447ab94f7195e (diff)
downloadffmpeg-ab7bcfb80c698a378aaab8fc7fd9408853034b78.tar.gz
avformat/mxfdec: reindent code
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r--libavformat/mxfdec.c5
1 files changed, 3 insertions, 2 deletions
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)