Mercurial > libavcodec.hg
comparison mlpdec.c @ 8277:a793f9afd5cb libavcodec
mlp: cosmetics: remove {}s over one-lined if.
author | ramiro |
---|---|
date | Sun, 07 Dec 2008 00:58:41 +0000 |
parents | 9149588e5cc9 |
children | 5b3c90656fdf |
comparison
equal
deleted
inserted
replaced
8276:9149588e5cc9 | 8277:a793f9afd5cb |
---|---|
295 | 295 |
296 m->avctx->sample_rate = mh.group1_samplerate; | 296 m->avctx->sample_rate = mh.group1_samplerate; |
297 m->avctx->frame_size = mh.access_unit_size; | 297 m->avctx->frame_size = mh.access_unit_size; |
298 | 298 |
299 m->avctx->bits_per_raw_sample = mh.group1_bits; | 299 m->avctx->bits_per_raw_sample = mh.group1_bits; |
300 if (mh.group1_bits > 16) { | 300 if (mh.group1_bits > 16) |
301 m->avctx->sample_fmt = SAMPLE_FMT_S32; | 301 m->avctx->sample_fmt = SAMPLE_FMT_S32; |
302 } | |
303 else | 302 else |
304 m->avctx->sample_fmt = SAMPLE_FMT_S16; | 303 m->avctx->sample_fmt = SAMPLE_FMT_S16; |
305 | 304 |
306 m->params_valid = 1; | 305 m->params_valid = 1; |
307 for (substr = 0; substr < MAX_SUBSTREAMS; substr++) | 306 for (substr = 0; substr < MAX_SUBSTREAMS; substr++) |