Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-02-19 14:49:45 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-19 17:39:36 +0300
commite8d4eacc07c61ae24f48451073a2620d8d257d33 (patch)
treed552d54f13600ec38e31a76cf933469381f98038 /libavutil/internal.h
parent2ac6eedac5e576bb98c9ba6573cfcd4782b175b0 (diff)
Factor CHECKED out of DEBUG so it can be set seperatly
Suggested-by: Matt Wolenetz <wolenetz@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index a19975d474..4d1b3e2c18 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -30,6 +30,10 @@
# define NDEBUG
#endif
+#if defined(DEBUG) && !defined(CHECKED)
+# define CHECKED
+#endif
+
#include <limits.h>
#include <stdint.h>
#include <stddef.h>