Aborting on NaN in CELT
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 15 May 2018 19:36:33 +0000 (15:36 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 15 May 2018 19:36:33 +0000 (15:36 -0400)
commit652c4559f593d3aad78bd5c85a216eeae7859429
treec8d4b6b4780badfddf343cea7305d270213c8e3d
parent42f43db7e470dec8c7a40c86180d6a07241c3577
Aborting on NaN in CELT

NaNs should be filtered at the Opus layer, so if there are any in the CELT
encoder, then it's likely something went horribly wrong (e.g. corrupted state).
In that case, better abort than have something bad happen.
celt/arch.h
celt/celt_encoder.c