aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/amfenc.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-07-20 15:51:25 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-07-24 15:32:15 +0200
commitb56031b992abc9953d8a774faa1ed36cf599162d (patch)
tree0c8062ae66b8e91d9a90916dc02d66ba20406c9b /libavcodec/amfenc.h
parent3883c9d1479d3e653bb66c9960fdd2ebd6ba9594 (diff)
downloadffmpeg-b56031b992abc9953d8a774faa1ed36cf599162d.tar.gz
vp3data: Make some arrays unsigned to prevent overflow
Some of the VP3 arrays (namely vp31_intra_y_dequant, vp31_intra_c_dequant and vp31_inter_dequant) are currently declared as array of (const) int8_t despite them being only used to directly initialize an array of uint8_t. vp31_inter_dequant even contains the value 128 which is not representible in int8_t and might generate overflow warnings by compilers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/amfenc.h')
0 files changed, 0 insertions, 0 deletions