avcodec/aacpsy: Avoid floating point division by 0 of norm_fac
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 May 2021 18:18:25 +0000 (20:18 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 18:53:56 +0000 (20:53 +0200)
commit5828700d5c70aaec1f10c417975123c76262bd98
tree1de543f80f7dbba04db0de572451eb144e61a3f1
parent05cca35df9df1fcbcd41a9fac77ab2fb70a6b9c7
avcodec/aacpsy: Avoid floating point division by 0 of norm_fac

Fixes: Ticket7995
Fixes: CVE-2020-20446

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 223b5e8ac9f6461bb13ed365419ec485c5b2b002)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacpsy.c