avcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not defined...
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Sep 2014 19:06:47 +0000 (21:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 8 Sep 2014 19:06:47 +0000 (21:06 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cabac_functions.h

index 0248a26..15dba29 100644 (file)
 #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