aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/imc.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-12-04 18:13:07 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-12-17 20:03:02 +0100
commit507e0314c0d9107f6e17753950f9aceb6ed3b8d5 (patch)
treee2f72bc2594437fdf751782e0ca0be4e7df96e69 /libavcodec/imc.c
parent76af12f5429b72820afd3b448cb38e9709993b03 (diff)
downloadffmpeg-507e0314c0d9107f6e17753950f9aceb6ed3b8d5.tar.gz
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: Claudio Freire <klaussfreire@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 7a4652dd5da0502ff21c183b5ca7d76b1cfd6c51) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/imc.c')
0 files changed, 0 insertions, 0 deletions