mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 10:43:15 +00:00
avutil/utils: check and warn about llrint() brokenness
Such broken llrint() exist for example on netbsd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c4f932f4d7
commit
1ba196a10d
@ -45,6 +45,10 @@ unsigned avutil_version(void)
|
||||
abort();
|
||||
}
|
||||
|
||||
if (llrint(1LL<<60) != 1LL<<60) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Libavutil has been linked to a broken llrint()\n");
|
||||
}
|
||||
|
||||
ff_check_pixfmt_descriptors();
|
||||
checks_done = 1;
|
||||
return LIBAVUTIL_VERSION_INT;
|
||||
|
Loading…
Reference in New Issue
Block a user