aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/genh.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-05 01:50:08 +0100
commit7a4652dd5da0502ff21c183b5ca7d76b1cfd6c51 (patch)
tree32d08be1c7c7fab9492bd24357e1390994609a5e /libavformat/genh.c
parent325b59368dae3c3f2f5cc39873002b4cf133ccbc (diff)
downloadffmpeg-7a4652dd5da0502ff21c183b5ca7d76b1cfd6c51.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>
Diffstat (limited to 'libavformat/genh.c')
0 files changed, 0 insertions, 0 deletions