(vidsoft.c) Turn some static inline functions into macros