It's NULL in case there's an error. We don't need an error code for that.
In many case the result is just returned the same way without touching the
We can keep the
VLC_USED and even add
VLC_MALLOC for these return values.
VideoLAN code repository instance