Skip to content
Snippets Groups Projects
Commit 7a4652dd authored by Andreas Cadhalpun's avatar Andreas Cadhalpun
Browse files

aaccoder: prevent crash of anmr coder


If minq is negative, the range of sf_idx can be larger than
SCALE_MAX_DIFF allows, causing assertion failures later in
encode_scale_factors.

Reviewed-by: default avatarClaudio Freire <klaussfreire@gmail.com>
Signed-off-by: default avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
parent 325b5936
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment