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, 30 Jan 2016 23:24:27 +0000 (00:24 +0100)
commit9acbe5fa8489f26223aef0247b7486b0197118f8
tree6b8a66c4da01aa19b957046162dc8d00eef0c4a5
parent0f091f808af7d536dc3edd99e196801a871f49d6
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>
(cherry picked from commit 057549a9ccc9fd32df71678e6abe69e10668186a)

Conflicts:

libavcodec/aacenc.c
libavcodec/aacenc.c