avcodec/aacenc: Do not divide by lambda_count if it is 0
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 May 2021 15:49:22 +0000 (17:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 2 Jun 2021 15:30:24 +0000 (17:30 +0200)
commitc520b986915a3fdf3a20f6ce0ad5833eccfb7a91
treedefffe5fd505ce5b2a0b7517e3e4e1958bf6ecdd
parent4b89cf7aa49191c7f8a5ae6e9cf6cfc79ff4ee5e
avcodec/aacenc: Do not divide by lambda_count if it is 0

Avoids Floating point division by 0

Fixes: Ticket8011

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacenc.c