summaryrefslogtreecommitdiffstats
path: root/options/m_config.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-20 13:38:54 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-31 01:24:51 +0300
commitb13bb9fbdd5b375ba50bb133edd0e2b3865d0d46 (patch)
tree3264861439bf1c0cbff7b98b2b3bc3dc53110383 /options/m_config.h
parent7d5133b713143c73acd3cd8497ba61e73d5b136f (diff)
downloadmpv-b13bb9fbdd5b375ba50bb133edd0e2b3865d0d46.tar.bz2
mpv-b13bb9fbdd5b375ba50bb133edd0e2b3865d0d46.tar.xz
m_config: check for int16_t offset overflow
For some reason shadow_offset is a int16_t variable (to save some space or something), which means the static part of the entire option list must be below 32KB. This is fine, but still add a check against overflows. (Currently it's 3.6KB. This does not include dynamic allocations like strings.)
Diffstat (limited to 'options/m_config.h')
0 files changed, 0 insertions, 0 deletions