avcodec/aacenc: Check both channels for finiteness
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 Jan 2016 17:32:07 +0000 (18:32 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 Jan 2016 17:33:12 +0000 (18:33 +0100)
commit057549a9ccc9fd32df71678e6abe69e10668186a
tree92f926ee78b937aaa1fae10fed6add4dfa0bfc4c
parent535d09a51099d3c796d6c0c3ec381ff99d5ce0c8
avcodec/aacenc: Check both channels for finiteness

Fixes null pointer dereference
Fixes: 10412fc52ecc6eab40ed67f82ca7b372/signal_sigsegv_2618c99_2129_f808373959e46afb165593332799ffbc.aif

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacenc.c