[libdca-devel] [PATCH 2/2] libdca/downmix: add missing `break;`

Timothy Gu timothygu99 at gmail.com
Wed Dec 18 06:14:53 CET 2013


It is not really that important because it is a goto before that anyway.

Fix Coverity issue CID 1137697.

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 libdca/downmix.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libdca/downmix.c b/libdca/downmix.c
index ff02127..cfc5807 100644
--- a/libdca/downmix.c
+++ b/libdca/downmix.c
@@ -516,6 +516,7 @@ void dca_downmix (sample_t * samples, int acmod, int output, sample_t bias,
     case CONVERT (DCA_3F1R, DCA_MONO):
 	if (slev == 0)
 	    goto mix_3to1;
+        break;
     case CONVERT (DCA_2F2R, DCA_MONO):
 	if (slev == 0)
 	    goto mix_2to1;
-- 
1.8.3.2



More information about the libdca-devel mailing list