--- a/mlib/yuv2rgb_mlib.c
+++ b/mlib/yuv2rgb_mlib.c
@@ -31,8 +31,9 @@
 #include "libswscale/swscale.h"
 
 static int mlib_YUV2ARGB420_32(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
-                               int srcSliceH, uint8_t* dst[], int dstStride[]){
-    if(c->srcFormat == PIX_FMT_YUV422P){
+                               int srcSliceH, uint8_t* dst[], int dstStride[])
+{
+    if(c->srcFormat == PIX_FMT_YUV422P) {
         srcStride[1] *= 2;
         srcStride[2] *= 2;
     }
@@ -45,8 +46,9 @@
 }
 
 static int mlib_YUV2ABGR420_32(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
-                               int srcSliceH, uint8_t* dst[], int dstStride[]){
-    if(c->srcFormat == PIX_FMT_YUV422P){
+                               int srcSliceH, uint8_t* dst[], int dstStride[])
+{
+    if(c->srcFormat == PIX_FMT_YUV422P) {
         srcStride[1] *= 2;
         srcStride[2] *= 2;
     }
@@ -59,8 +61,9 @@
 }
 
 static int mlib_YUV2RGB420_24(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
-                              int srcSliceH, uint8_t* dst[], int dstStride[]){
-    if(c->srcFormat == PIX_FMT_YUV422P){
+                              int srcSliceH, uint8_t* dst[], int dstStride[])
+{
+    if(c->srcFormat == PIX_FMT_YUV422P) {
         srcStride[1] *= 2;
         srcStride[2] *= 2;
     }
@@ -75,7 +78,7 @@
 
 SwsFunc ff_yuv2rgb_init_mlib(SwsContext *c)
 {
-    switch(c->dstFormat){
+    switch(c->dstFormat) {
     case PIX_FMT_RGB24: return mlib_YUV2RGB420_24;
     case PIX_FMT_BGR32: return mlib_YUV2ARGB420_32;
     case PIX_FMT_RGB32: return mlib_YUV2ABGR420_32;