summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2013-01-18 13:34:26 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2013-02-12 13:41:13 -0500
commita3735bb92a6b65eeed0f646336dba9776a9479dc (patch)
treed661cf63ecc7b291d3657dcbcde7787ae69d2cc8
parent1647da89dd8ac09a55c111589f7a30d7e6b87d90 (diff)
downloadffmpeg-a3735bb92a6b65eeed0f646336dba9776a9479dc.tar.gz
lavr: cosmetics: reindent
-rw-r--r--libavresample/audio_mix.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c
index fc37eac6a3..096bcf3d66 100644
--- a/libavresample/audio_mix.c
+++ b/libavresample/audio_mix.c
@@ -673,20 +673,20 @@ int ff_audio_mix_set_matrix(AudioMix *am, const double *matrix, int stride)
am->matrix = (void **)am->matrix_## type;
if (am->in_matrix_channels && am->out_matrix_channels) {
- switch (am->coeff_type) {
- case AV_MIX_COEFF_TYPE_Q8:
- CONVERT_MATRIX(q8, av_clip_int16(lrint(256.0 * v)))
- break;
- case AV_MIX_COEFF_TYPE_Q15:
- CONVERT_MATRIX(q15, av_clipl_int32(llrint(32768.0 * v)))
- break;
- case AV_MIX_COEFF_TYPE_FLT:
- CONVERT_MATRIX(flt, v)
- break;
- default:
- av_log(am->avr, AV_LOG_ERROR, "Invalid mix coeff type\n");
- return AVERROR(EINVAL);
- }
+ switch (am->coeff_type) {
+ case AV_MIX_COEFF_TYPE_Q8:
+ CONVERT_MATRIX(q8, av_clip_int16(lrint(256.0 * v)))
+ break;
+ case AV_MIX_COEFF_TYPE_Q15:
+ CONVERT_MATRIX(q15, av_clipl_int32(llrint(32768.0 * v)))
+ break;
+ case AV_MIX_COEFF_TYPE_FLT:
+ CONVERT_MATRIX(flt, v)
+ break;
+ default:
+ av_log(am->avr, AV_LOG_ERROR, "Invalid mix coeff type\n");
+ return AVERROR(EINVAL);
+ }
}
ret = mix_function_init(am);