summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2008-12-07 00:58:41 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2008-12-07 00:58:41 +0000
commitc687643c689c47ecfba6ba55b277ba8d8bdad272 (patch)
tree6d56a770bf55cee2843e6e06e047bd5270ce92ca /libavcodec
parentee1a8f62901b7043fb39c25d228e47521ee5c3d6 (diff)
mlp: cosmetics: remove {}s over one-lined if.
Originally committed as revision 16027 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mlpdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c
index 8ce09831ad..d3c9c2bdd7 100644
--- a/libavcodec/mlpdec.c
+++ b/libavcodec/mlpdec.c
@@ -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;