From 669235e0b343855d7b1515834900028bb7f661c0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 15 Mar 2014 00:12:01 +0100 Subject: [PATCH] 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 --- libavcodec/h264_cabac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"