diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-11-16 20:39:16 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-11-17 10:16:08 +0100 |
commit | 7cdfce4f63f432264c51d25db455278fef692f2c (patch) | |
tree | 86962fde7d93ccacc7fd15ae7ed9d00be521074b | |
parent | 809631af1a3d2b937e928682f44ece372c085ba3 (diff) | |
download | ffmpeg-7cdfce4f63f432264c51d25db455278fef692f2c.tar.gz |
swr: fix "control reaches end of non-void function" compiler warning.
-rw-r--r-- | 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 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); } } |