avcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not defined...
[ffmpeg.git] / 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