[FFmpeg-devel] [PATCH 10/10] swr: fix "control reaches end of non-void function" compiler warning.
Clément Bœsch
ubitux at gmail.com
Wed Nov 16 21:50:57 CET 2011
---
libswresample/swresample_test.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libswresample/swresample_test.c b/libswresample/swresample_test.c
index 037c91e..321ce70 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);
}
}
--
1.7.7.3
More information about the ffmpeg-devel
mailing list