aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/xa.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-20 15:38:32 +0100
commit26b74a7213bf720f2818e9b5e8c8359cbadf9207 (patch)
tree45e343c814be87bb2edee7736fcc5bed725d1ea2 /libavformat/xa.c
parentcc77012329f0b68373f6fadc2fda19e0d1f661cb (diff)
downloadffmpeg-26b74a7213bf720f2818e9b5e8c8359cbadf9207.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 'libavformat/xa.c')
0 files changed, 0 insertions, 0 deletions