aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-08 21:06:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-08 21:06:47 +0200
commita67b6c95415438b4a6bfb6277f066f7c7b57b40f (patch)
tree9a619be340a80e0ad266783019ae25ac3af90de2
parentbaee313aa9a5c277cdca803cde56257466438b99 (diff)
downloadffmpeg-a67b6c95415438b4a6bfb6277f066f7c7b57b40f.tar.gz
avcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not defined, evaluates to 0"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/cabac_functions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/cabac_functions.h b/libavcodec/cabac_functions.h
index 0248a267fc..15dba29f8e 100644
--- a/libavcodec/cabac_functions.h
+++ b/libavcodec/cabac_functions.h
@@ -32,6 +32,10 @@
#include "cabac.h"
#include "config.h"
+#ifndef UNCHECKED_BITSTREAM_READER
+#define UNCHECKED_BITSTREAM_READER !CONFIG_SAFE_BITSTREAM_READER
+#endif
+
#if ARCH_AARCH64
# include "aarch64/cabac.h"
#endif