diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index 2ee4bc01a8..8b42f040ce 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -1630,6 +1630,7 @@ decode_cabac_residual_internal(H264Context *h, DCTELEM *block, cc.range = h->cabac.range; cc.low = h->cabac.low; cc.bytestream= h->cabac.bytestream; + cc.bytestream_end = h->cabac.bytestream_end; #else #define CC &h->cabac #endif