asdfuser pushed a commit to branch master.
commit 76c4140c0884a3c257ed07920c93dfa738d5c169
Author: Daniel Willmann <[email protected]>
Date: Mon Jul 8 13:50:16 2013 +0100
ecore_audio: Add missing break in switch-clause in format_set
Thanks coverity for finding that
Signed-off-by: Daniel Willmann <[email protected]>
---
src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c
b/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c
index 6d2d95c..445a63e 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c
@@ -158,6 +158,7 @@ static void _format_set(Eo *eo_obj, void *_pd, va_list
*list)
switch (format) {
case ECORE_AUDIO_FORMAT_AUTO:
obj->sfinfo.format = 0;
+ break;
case ECORE_AUDIO_FORMAT_WAV:
obj->sfinfo.format = SF_FORMAT_WAV|SF_FORMAT_PCM_16;
break;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev