swr: fix "control reaches end of non-void function" compiler warning.
authorClément Bœsch <ubitux@gmail.com>
Wed, 16 Nov 2011 19:39:16 +0000 (20:39 +0100)
committerClément Bœsch <ubitux@gmail.com>
Thu, 17 Nov 2011 09:16:08 +0000 (10:16 +0100)
libswresample/swresample_test.c

index 037c91e..321ce70 100644 (file)
@@ -44,7 +44,7 @@ static double get(const uint8_t *a[], int ch, int index, int ch_count, enum AVSa
     case AV_SAMPLE_FMT_S32: return ((const int32_t*)p)[index]/2147483647.0;
     case AV_SAMPLE_FMT_FLT: return ((const float  *)p)[index];
     case AV_SAMPLE_FMT_DBL: return ((const double *)p)[index];
-    default: av_assert2(0);
+    default: av_assert0(0);
     }
 }