[FFmpeg-cvslog] avcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not defined, evaluates to 0"
Michael Niedermayer
git at videolan.org
Fri Oct 3 03:47:46 CEST 2014
ffmpeg | branch: release/2.3 | Michael Niedermayer <michaelni at gmx.at> | Mon Sep 8 21:06:47 2014 +0200| [6952f6f39b5ed1b93bf879a8517c87702406ed49] | committer: Michael Niedermayer
avcodec/cabac_functions: fix "warning: UNCHECKED_BITSTREAM_READER is not defined, evaluates to 0"
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit a67b6c95415438b4a6bfb6277f066f7c7b57b40f)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6952f6f39b5ed1b93bf879a8517c87702406ed49
---
libavcodec/cabac_functions.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/cabac_functions.h b/libavcodec/cabac_functions.h
index d7d6d7d..14fdd76 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
More information about the ffmpeg-cvslog
mailing list