Commit 7cdfce4f authored by Clément Bœsch's avatar Clément Bœsch

swr: fix "control reaches end of non-void function" compiler warning.

parent 809631af
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment