make it compile again
inline moved to AVUtil