Fix missing break statements
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Fri, 11 Mar 2011 22:46:02 +0000 (17:46 -0500)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Fri, 11 Mar 2011 22:46:02 +0000 (17:46 -0500)
libcelt/celt.c

index fba7113..a57d3b4 100644 (file)
@@ -1784,6 +1784,7 @@ int celt_encoder_ctl(CELTEncoder * restrict st, int request, ...)
          celt_int32 value = va_arg(ap, celt_int32);
          st->signalling = value;
       }
          celt_int32 value = va_arg(ap, celt_int32);
          st->signalling = value;
       }
+      break;
       case CELT_RESET_STATE:
       {
          CELT_MEMSET((char*)&st->ENCODER_RESET_START, 0,
       case CELT_RESET_STATE:
       {
          CELT_MEMSET((char*)&st->ENCODER_RESET_START, 0,
@@ -2659,6 +2660,7 @@ int celt_decoder_ctl(CELTDecoder * restrict st, int request, ...)
             goto bad_arg;
          st->stream_channels = value;
       }
             goto bad_arg;
          st->stream_channels = value;
       }
+      break;
       case CELT_SET_SIGNALLING_REQUEST:
       {
          celt_int32 value = va_arg(ap, celt_int32);
       case CELT_SET_SIGNALLING_REQUEST:
       {
          celt_int32 value = va_arg(ap, celt_int32);