[FFmpeg-cvslog] avformat/mxfdec: reindent code

Limin Wang git at videolan.org
Tue May 5 03:22:10 EEST 2020


ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Mon May  4 20:51:24 2020 +0800| [ab7bcfb80c698a378aaab8fc7fd9408853034b78] | committer: Limin Wang

avformat/mxfdec: reindent code

Reviewed-by: Tomas Härdin <tjoppen at acc.umu.se>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ab7bcfb80c698a378aaab8fc7fd9408853034b78
---

 libavformat/mxfdec.c | 5 +++--
 1 file 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)



More information about the ffmpeg-cvslog mailing list