From 7cdfce4f63f432264c51d25db455278fef692f2c Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Wed, 16 Nov 2011 20:39:16 +0100 Subject: swr: fix "control reaches end of non-void function" compiler warning. --- libswresample/swresample_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libswresample') diff --git a/libswresample/swresample_test.c b/libswresample/swresample_test.c index 037c91eb90..321ce70df6 100644 --- a/libswresample/swresample_test.c +++ b/libswresample/swresample_test.c @@ -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); } } -- cgit v1.2.3