From f65341cda0fd9a78c3f035f4e6a1ca7903d60437 Mon Sep 17 00:00:00 2001
From: Martin Vignali <martin.vignali@gmail.com>
Date: Mon, 20 Aug 2018 12:55:29 +0200
Subject: [PATCH 3/3] swscale/swscale : small cosmetic

---
 libswscale/swscale.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 9fc6c84a5c..cea15906a2 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -75,7 +75,7 @@ static void hScale16To19_c(SwsContext *c, int16_t *_dst, int dstW,
     int sh              = bits - 4;
 
     if ((isAnyRGB(c->srcFormat) || c->srcFormat==AV_PIX_FMT_PAL8) && desc->comp[0].depth<16) {
-        sh= 9;
+        sh = 9;
     } else if (desc->flags & AV_PIX_FMT_FLAG_FLOAT) { /* float input are process like uint 16bpc */
         sh = 16 - 1 - 4;
     }
@@ -102,8 +102,8 @@ static void hScale16To15_c(SwsContext *c, int16_t *dst, int dstW,
     const uint16_t *src = (const uint16_t *) _src;
     int sh              = desc->comp[0].depth - 1;
 
-    if(sh<15)
-        sh= isAnyRGB(c->srcFormat) || c->srcFormat==AV_PIX_FMT_PAL8 ? 13 : (desc->comp[0].depth - 1);
+    if (sh<15)
+        sh = isAnyRGB(c->srcFormat) || c->srcFormat==AV_PIX_FMT_PAL8 ? 13 : (desc->comp[0].depth - 1);
 
     for (i = 0; i < dstW; i++) {
         int j;
-- 
2.14.3 (Apple Git-98)

