From 5f29073abfd78faa7fb7d38df95e3064a7e2cca2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 5 Sep 2014 20:47:54 +0200 Subject: af_hrtf: cosmetics: reindent misaligned code block --- audio/filter/af_hrtf.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'audio/filter') diff --git a/audio/filter/af_hrtf.c b/audio/filter/af_hrtf.c index e01f659772..19605453e7 100644 --- a/audio/filter/af_hrtf.c +++ b/audio/filter/af_hrtf.c @@ -301,15 +301,15 @@ static int control(struct af_instance *af, int cmd, void* arg) return AF_ERROR; } mp_audio_set_channels_old(af->data, ((struct mp_audio*)arg)->nch); - if(af->data->nch == 2) { - /* 2 channel input */ - if(s->decode_mode != HRTF_MIX_MATRIX2CH) { - /* Default behavior is stereo mixing. */ - s->decode_mode = HRTF_MIX_STEREO; - } + if(af->data->nch == 2) { + /* 2 channel input */ + if(s->decode_mode != HRTF_MIX_MATRIX2CH) { + /* Default behavior is stereo mixing. */ + s->decode_mode = HRTF_MIX_STEREO; } - else if (af->data->nch < 5) - mp_audio_set_channels_old(af->data, 5); + } else if (af->data->nch < 5) { + mp_audio_set_channels_old(af->data, 5); + } mp_audio_set_format(af->data, AF_FORMAT_S16); test_output_res = af_test_output(af, (struct mp_audio*)arg); // after testing input set the real output format -- cgit v1.2.3