diff --git a/libavutil/utils.c b/libavutil/utils.c index e6c8424ab4dff66490b1ca4aa085c9198c677f73..978ab4c743f4456c0819525377b443ec2c457bcb 100644 --- a/libavutil/utils.c +++ b/libavutil/utils.c @@ -18,6 +18,7 @@ #include "config.h" #include "avutil.h" +#include "avassert.h" /** * @file @@ -26,6 +27,8 @@ unsigned avutil_version(void) { + av_assert0(PIX_FMT_VDA_VLD == 81); //check if the pix fmt enum has not had anything inserted or removed by mistake + return LIBAVUTIL_VERSION_INT; }