From 656e9a68c43cc2adb761758899147af63729535f Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Wed, 8 Jul 2015 11:30:21 +0200
Subject: [PATCH] avformat/swfdec: Fix "}else" style

Found-by: durandal_170
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavformat/swfdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index 570a4f54392..31c26f8bd44 100644
--- a/libavformat/swfdec.c
+++ b/libavformat/swfdec.c
@@ -407,7 +407,7 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
             }
             if (st->codec->pix_fmt != AV_PIX_FMT_NONE && st->codec->pix_fmt != pix_fmt) {
                 av_log(s, AV_LOG_ERROR, "pixel format change unsupported\n");
-            }else
+            } else
                 st->codec->pix_fmt = pix_fmt;
 
             if (linesize * height > pkt->size) {
-- 
GitLab