mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/h264_cabac: move the arm unchecked_bitstream reader special case closer to where the issue is
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
669235e0b3
commit
2b8d28439b
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#define CABAC(h) 1
|
||||
#define UNCHECKED_BITSTREAM_READER (!ARCH_ARM && !ARCH_AARCH64)
|
||||
#define UNCHECKED_BITSTREAM_READER 1
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/timer.h"
|
||||
@ -1620,7 +1620,7 @@ decode_cabac_residual_internal(H264Context *h, int16_t *block,
|
||||
cc.range = h->cabac.range;
|
||||
cc.low = h->cabac.low;
|
||||
cc.bytestream= h->cabac.bytestream;
|
||||
#if !UNCHECKED_BITSTREAM_READER
|
||||
#if !UNCHECKED_BITSTREAM_READER || ARCH_ARM || ARCH_AARCH64
|
||||
cc.bytestream_end = h->cabac.bytestream_end;
|
||||
#endif
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user