OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a044a18
)
avutil/utils: run ff_check_pixfmt_descriptors() only when ASSERT_LEVEL is > 0
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 6 Dec 2013 22:51:58 +0000
(23:51 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 6 Dec 2013 22:51:58 +0000
(23:51 +0100)
this safes about 0.1ms
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/utils.c
patch
|
blob
|
history
diff --git
a/libavutil/utils.c
b/libavutil/utils.c
index
dc84162
..
4c82503
100644
(file)
--- a/
libavutil/utils.c
+++ b/
libavutil/utils.c
@@
-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;
}