summaryrefslogtreecommitdiff
path: root/libavformat/swfdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-07-08 11:30:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-08 12:06:17 +0200
commit656e9a68c43cc2adb761758899147af63729535f (patch)
tree295baf84e1b8a50469e4ca4195dcafe059439fc4 /libavformat/swfdec.c
parent7efe81a813ad93e573b5c7c561a8472ddc2e81c3 (diff)
avformat/swfdec: Fix "}else" style
Found-by: durandal_170 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/swfdec.c')
-rw-r--r--libavformat/swfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index 570a4f5439..31c26f8bd4 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) {