avcodec/lpc: Avoid floating point division by 0
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 May 2021 18:31:19 +0000 (20:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 18:53:56 +0000 (20:53 +0200)
commit7fbea837fd8584536ba3f4d73e639d84ae6359a1
tree28b365c6dafc28e5a539b224a502266835faf9d7
parent5828700d5c70aaec1f10c417975123c76262bd98
avcodec/lpc: Avoid floating point division by 0

Fixes: Ticket7996
Fixes: CVE-2020-20445

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 38d18fb57863bb9c54e68ae44aa780c5c282a184)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/lpc.c
libavcodec/lpc.h