diff options
Diffstat (limited to 'lib/rbcodec')
-rw-r--r-- | lib/rbcodec/codecs/liba52/downmix.c | 3 | ||||
-rw-r--r-- | lib/rbcodec/dsp/crossfeed.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/liba52/downmix.c b/lib/rbcodec/codecs/liba52/downmix.c index dd2867cb92..277b04d4c8 100644 --- a/lib/rbcodec/codecs/liba52/downmix.c +++ b/lib/rbcodec/codecs/liba52/downmix.c | |||
@@ -498,6 +498,7 @@ void a52_downmix (sample_t * samples, int acmod, int output, | |||
498 | case CONVERT (A52_2F1R, A52_MONO): | 498 | case CONVERT (A52_2F1R, A52_MONO): |
499 | if (slev == 0) | 499 | if (slev == 0) |
500 | goto mix_2to1; | 500 | goto mix_2to1; |
501 | /* fallthrough */ | ||
501 | case CONVERT (A52_3F, A52_MONO): | 502 | case CONVERT (A52_3F, A52_MONO): |
502 | mix_3to1: | 503 | mix_3to1: |
503 | mix3to1 (samples); | 504 | mix3to1 (samples); |
@@ -506,9 +507,11 @@ void a52_downmix (sample_t * samples, int acmod, int output, | |||
506 | case CONVERT (A52_3F1R, A52_MONO): | 507 | case CONVERT (A52_3F1R, A52_MONO): |
507 | if (slev == 0) | 508 | if (slev == 0) |
508 | goto mix_3to1; | 509 | goto mix_3to1; |
510 | /* fallthrough */ | ||
509 | case CONVERT (A52_2F2R, A52_MONO): | 511 | case CONVERT (A52_2F2R, A52_MONO): |
510 | if (slev == 0) | 512 | if (slev == 0) |
511 | goto mix_2to1; | 513 | goto mix_2to1; |
514 | /* fallthrough */ | ||
512 | mix4to1 (samples); | 515 | mix4to1 (samples); |
513 | break; | 516 | break; |
514 | 517 | ||
diff --git a/lib/rbcodec/dsp/crossfeed.c b/lib/rbcodec/dsp/crossfeed.c index 60f38b243c..9cca7d8973 100644 --- a/lib/rbcodec/dsp/crossfeed.c +++ b/lib/rbcodec/dsp/crossfeed.c | |||
@@ -334,6 +334,7 @@ static intptr_t crossfeed_configure(struct dsp_proc_entry *this, | |||
334 | case DSP_PROC_INIT: | 334 | case DSP_PROC_INIT: |
335 | if (value == 0) | 335 | if (value == 0) |
336 | this->data = (intptr_t)&crossfeed_state; | 336 | this->data = (intptr_t)&crossfeed_state; |
337 | /* Fallthrough */ | ||
337 | 338 | ||
338 | case DSP_SET_OUT_FREQUENCY: | 339 | case DSP_SET_OUT_FREQUENCY: |
339 | update_process_fn(this, dsp); | 340 | update_process_fn(this, dsp); |