summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cabac.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-15 00:12:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-15 00:58:48 +0100
commit669235e0b343855d7b1515834900028bb7f661c0 (patch)
tree5447cdfa97bd8cdb832e21fd2cb5c8d08b4fc1e8 /libavcodec/h264_cabac.c
parentfbe9ae482d5138d14a7e9bd53291921289573485 (diff)
avcodec/h264_cabac: disable the unchecked bitstream reader for arm & aarch64
The newly added optimizations do not work with the unchecked reader Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r--libavcodec/h264_cabac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index 83aac22bbf..75b12ec641 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -26,7 +26,7 @@
*/
#define CABAC(h) 1
-#define UNCHECKED_BITSTREAM_READER 1
+#define UNCHECKED_BITSTREAM_READER (!ARCH_ARM && !ARCH_AARCH64)
#include "libavutil/attributes.h"
#include "libavutil/timer.h"