summaryrefslogtreecommitdiffstats
path: root/m_property.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-23 22:10:40 +0200
committerwm4 <wm4@nowhere>2012-10-12 10:10:32 +0200
commitdf2b0f99485e065224af89b910370c394d0ef8d0 (patch)
tree7eb6160c2c77ca42f47779ce5896f3d571be0efd /m_property.h
parent0de86f5bf386e987c0a28dbecdc69155c1abdbcd (diff)
downloadmpv-df2b0f99485e065224af89b910370c394d0ef8d0.tar.bz2
mpv-df2b0f99485e065224af89b910370c394d0ef8d0.tar.xz
Fix MP_TARRAY_GROW macro
This macro is supposed to make sure an array has enough memory allocated for a given number of elements. Unfortunately, a condition was inverted (I... what???). It only allocated if there was still enough memory left, or only one additional element had to be allocated. Since this macro was only used by MP_TARRAY_APPEND, this case was never actually triggered. It's still utter non-sense.
Diffstat (limited to 'm_property.h')
0 files changed, 0 insertions, 0 deletions