aboutsummaryrefslogtreecommitdiffstats
path: root/arch.mak
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-11-30 15:00:47 +0100
committerJanne Grunau <janne-libav@jannau.net>2012-12-08 12:55:10 +0100
commit9a2e79116d6235c53d8e9663a8d30d1950d7431a (patch)
treedd8b6b351db8b31ed596f25434ddd052ff29d9e3 /arch.mak
parent1c012e6bfb775eeb01355bfed7229c6795b3f3fc (diff)
downloadffmpeg-9a2e79116d6235c53d8e9663a8d30d1950d7431a.tar.gz
golomb: use unsigned arithmetics in svq3_get_ue_golomb()
This prevents undefined behaviour of signed left shift if the coded value is larger than 2^31. Large values are most likely invalid and caused errors or by feeding random. Validate every use of svq3_get_ue_golomb() and changed the place there the return value was compared with negative numbers. dirac.c was clean, fixed rv30 and svq3.
Diffstat (limited to 'arch.mak')
0 files changed, 0 insertions, 0 deletions