Silences a gcc warning
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 29 Oct 2011 21:28:51 +0000 (17:28 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Sat, 29 Oct 2011 21:28:51 +0000 (17:28 -0400)
celt/celt.c

index fce1559..7a3bc22 100644 (file)
@@ -126,12 +126,11 @@ static int resampling_factor(opus_int32 rate)
       ret = 6;
       break;
    default:
-#ifdef CUSTOM_MODES
-      ret = 0;
-      break;
-#else
+#ifndef CUSTOM_MODES
       celt_assert(0);
 #endif
+      ret = 0;
+      break;
    }
    return ret;
 }