ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Wed Jul 8 11:30:21 2015 +0200| [656e9a68c43cc2adb761758899147af63729535f] | committer: Michael Niedermayer
avformat/swfdec: Fix "}else" style Found-by: durandal_170 Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=656e9a68c43cc2adb761758899147af63729535f --- libavformat/swfdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c index 570a4f5..31c26f8 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) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog