avcodec/h264_cabac: disable the unchecked bitstream reader for arm & aarch64
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Mar 2014 23:12:01 +0000 (00:12 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Mar 2014 23:58:48 +0000 (00:58 +0100)
The newly added optimizations do not work with the unchecked reader

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

index 83aac22..75b12ec 100644 (file)
@@ -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"