aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/me_cmp.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-01-13 23:51:47 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-17 17:28:20 +0100
commit5fbd97fc756a827f62f556c66272f851cc3c7f90 (patch)
tree76ea5fc9f2a2f1e863fad8777395aeea28df1ed1 /libavcodec/me_cmp.h
parent69697be92200ff2222f8c59158f35b1771f0c002 (diff)
downloadffmpeg-5fbd97fc756a827f62f556c66272f851cc3c7f90.tar.gz
avcodec/diracdec: Fix qfactor/offset tables
It seems the previous tables where calculated with 32bit integers ignoring overflows. Also check for the max qindex, the value is choosen so that the qfactor/offset fit in int32. Fixes: 070b7914fd5dfe8f93248bea71363410/asan_static-oob_c8d034_2764_258e20f4a3c79158aecddb61a833d756.drc Fixes out of array reads Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/me_cmp.h')
0 files changed, 0 insertions, 0 deletions