summaryrefslogtreecommitdiffstats
path: root/options/m_config.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-20 13:38:54 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:35 +0200
commit246a828c262eda553420c8b861c2a01cd89af74a (patch)
treed8892a10b8239d9f12c2649e62e4dc367c1ed52b /options/m_config.h
parent4e9166f22d9e72100d11b5f7e0798d84ece4d2ac (diff)
downloadmpv-246a828c262eda553420c8b861c2a01cd89af74a.tar.bz2
mpv-246a828c262eda553420c8b861c2a01cd89af74a.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