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>
Fri, 3 Oct 2014 01:40:59 +0000 (03:40 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a67b6c95415438b4a6bfb6277f066f7c7b57b40f)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cabac_functions.h

index d7d6d7d..14fdd76 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