diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-09 15:59:04 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-10 14:43:22 +0200 |
commit | 979572365f2133f969f3f49ec6a99cc8739d2eba (patch) | |
tree | f88ea2f8fedeb946846af5d9219bdca8f91b4db8 /doc/build_system.txt | |
parent | c4e23ca8537701a38427f90b2dd72eb681d011d6 (diff) | |
download | ffmpeg-979572365f2133f969f3f49ec6a99cc8739d2eba.tar.gz |
avcodec/ac3enc: fix undefined negative left shift
This should fix the undefined behavior reported in:
https://trac.ffmpeg.org/ticket/4727.
I can reproduce this at runtime: simply stick in an abort call in
asym_quant to check if c < 0 and run FATE. I don't know ac3 so I can't
confirm if negative coefficients are intentional, but at the moment they
clearly are according to FATE.
This resolves the undefined behavior. Tested with FATE.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/build_system.txt')
0 files changed, 0 insertions, 0 deletions