diff options
Diffstat (limited to 'libavutil/utils.c')
-rw-r--r-- | libavutil/utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/utils.c b/libavutil/utils.c index 01c940ce1f..fbfbc49e1c 100644 --- a/libavutil/utils.c +++ b/libavutil/utils.c @@ -35,6 +35,11 @@ unsigned avutil_version(void) av_assert0(LIBAVUTIL_VERSION_MICRO >= 100); av_assert0(HAVE_MMX2 == HAVE_MMXEXT); + if (av_sat_dadd32(1, 2) != 5) { + av_log(NULL, AV_LOG_FATAL, "Libavutil has been build with a broken binutils, please upgrade binutils and rebuild\n"); + abort(); + } + return LIBAVUTIL_VERSION_INT; } |