提交 c687643c 编写于 作者: R Ramiro Polla

mlp: cosmetics: remove {}s over one-lined if.

Originally committed as revision 16027 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 ee1a8f62
......@@ -297,9 +297,8 @@ static int read_major_sync(MLPDecodeContext *m, GetBitContext *gb)
m->avctx->frame_size = mh.access_unit_size;
m->avctx->bits_per_raw_sample = mh.group1_bits;
if (mh.group1_bits > 16) {
if (mh.group1_bits > 16)
m->avctx->sample_fmt = SAMPLE_FMT_S32;
}
else
m->avctx->sample_fmt = SAMPLE_FMT_S16;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册