Browse Source
VLC_EGENERIC has no equivalent in <errno.h>, so it should not alias any <errno.h> value. This maps it to INT_MIN. It works because -INT_MIN equals INT_MAX + 1, which is out of range of `int`. As a reminder codes in <errno.h> are positive integers. The convoluted definition is to avoid pulling <limits.h> into <vlc_common.h> and from there all over the code base.pull/128/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue