Browse Source

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

Originally committed as revision 16027 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ramiro Polla 16 years ago
parent
commit
c687643c68
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/mlpdec.c

+ 1
- 2
libavcodec/mlpdec.c View File

@@ -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;



Loading…
Cancel
Save