Browse Source

avformat/swfdec: Fix "}else" style

Found-by: durandal_170
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
656e9a68c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/swfdec.c

+ 1
- 1
libavformat/swfdec.c View File

@@ -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) {


Loading…
Cancel
Save