diff options
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r-- | libavcodec/h264_cabac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index c0ca154bf7..d35c408788 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -1619,6 +1619,9 @@ 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 + cc.bytestream_end = h->cabac.bytestream_end; +#endif #else #define CC &h->cabac #endif |