summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-07-08 13:50:16 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-07-08 13:51:33 +0100
commit76c4140c0884a3c257ed07920c93dfa738d5c169 (patch)
tree2eb318147a09c909d51db3769d832fcb4a33e6c0 /src/lib/ecore_audio
parent970a5badd3c586c97e72433bb19644c9548e3fbc (diff)
ecore_audio: Add missing break in switch-clause in format_set
Thanks coverity for finding that Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c1
1 files changed, 1 insertions, 0 deletions
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 6d2d95c974..445a63e484 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)
158 switch (format) { 158 switch (format) {
159 case ECORE_AUDIO_FORMAT_AUTO: 159 case ECORE_AUDIO_FORMAT_AUTO:
160 obj->sfinfo.format = 0; 160 obj->sfinfo.format = 0;
161 break;
161 case ECORE_AUDIO_FORMAT_WAV: 162 case ECORE_AUDIO_FORMAT_WAV:
162 obj->sfinfo.format = SF_FORMAT_WAV|SF_FORMAT_PCM_16; 163 obj->sfinfo.format = SF_FORMAT_WAV|SF_FORMAT_PCM_16;
163 break; 164 break;