mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 11:22:14 +00:00
avutil/utils: run ff_check_pixfmt_descriptors() only when ASSERT_LEVEL is > 0
this safes about 0.1ms Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a044a183a3
commit
f52852098d
@ -51,7 +51,9 @@ unsigned avutil_version(void)
|
||||
av_log(NULL, AV_LOG_ERROR, "Libavutil has been linked to a broken llrint()\n");
|
||||
}
|
||||
|
||||
#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0
|
||||
ff_check_pixfmt_descriptors();
|
||||
#endif
|
||||
checks_done = 1;
|
||||
return LIBAVUTIL_VERSION_INT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user