diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 17:36:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-21 18:05:23 +0200 |
commit | c2c066784f197154521977e71fdf5fc824fb5974 (patch) | |
tree | 8743440c69fc1a33258773b3bae5c1a520128b92 /libavformat/mxfenc.c | |
parent | b8a64d69a9275bb841acf8b3ee38ec622bd718c2 (diff) | |
download | ffmpeg-c2c066784f197154521977e71fdf5fc824fb5974.tar.gz |
libavformat/mxfenc: add {} to complex ifs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mxfenc.c')
-rw-r--r-- | libavformat/mxfenc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 6a27d2a03b..a2dbd8b018 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -1700,16 +1700,16 @@ static int mxf_write_header(AVFormatContext *s) if (ret < 0) return ret; if (s->oformat == &ff_mxf_d10_muxer) { - if (st->codec->bit_rate == 50000000) + if (st->codec->bit_rate == 50000000) { if (mxf->time_base.den == 25) sc->index = 3; else sc->index = 5; - else if (st->codec->bit_rate == 40000000) + } else if (st->codec->bit_rate == 40000000) { if (mxf->time_base.den == 25) sc->index = 7; else sc->index = 9; - else if (st->codec->bit_rate == 30000000) + } else if (st->codec->bit_rate == 30000000) { if (mxf->time_base.den == 25) sc->index = 11; else sc->index = 13; - else { + } else { av_log(s, AV_LOG_ERROR, "error MXF D-10 only support 30/40/50 mbit/s\n"); return -1; } |