AAC encoder: check for NaNs/inf in TNS gain
authorClaudio Freire <klaussfreire@gmail.com>
Thu, 21 Jan 2016 06:32:49 +0000 (03:32 -0300)
committerClaudio Freire <klaussfreire@gmail.com>
Thu, 21 Jan 2016 06:47:28 +0000 (03:47 -0300)
commitadc7d2a4ce8ff09431d22441b1a41f1cc9dff0e4
tree1a75e4295909cf99946c6263218115f165cd456e
parent8bbb9723508b0fdee7f25dc4007f90b79928a8bc
AAC encoder: check for NaNs/inf in TNS gain

Can happen in cases where's there's zero autocorrelation (pulses),
and it also implies NaN/inf coeffs
libavcodec/aacenc_tns.c