diff options
author | wm4 <wm4@nowhere> | 2014-09-05 20:47:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-05 20:47:54 +0200 |
commit | 5f29073abfd78faa7fb7d38df95e3064a7e2cca2 (patch) | |
tree | 5c9ead4cf0305fccad3a3fdb02a40f7b11eebbc3 | |
parent | eaa1f165640cc19c18e2ad48524da699ef958dbf (diff) | |
download | mpv-5f29073abfd78faa7fb7d38df95e3064a7e2cca2.tar.bz2 mpv-5f29073abfd78faa7fb7d38df95e3064a7e2cca2.tar.xz |
af_hrtf: cosmetics: reindent misaligned code block
-rw-r--r-- | audio/filter/af_hrtf.c | 16 |
1 files changed, 8 insertions, 8 deletions
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 |