ecore_audio: Add missing break in switch-clause in format_set
authorDaniel Willmann <d.willmann@samsung.com>
Mon, 8 Jul 2013 12:50:16 +0000 (13:50 +0100)
committerDaniel Willmann <d.willmann@samsung.com>
Mon, 8 Jul 2013 12:51:33 +0000 (13:51 +0100)
Thanks coverity for finding that

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c

index 6d2d95c974b9dca11d70258a5e7c2432fa6847f4..445a63e484803f189534944866b3618471e35047 100644 (file)
@@ -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;