From 63a1b481f62e2611aaeac0f1edc3496eebe644ab Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 28 Mar 2012 16:32:27 -0700 Subject: [PATCH] h264: fix cabac-on-stack after safe cabac reader. --- libavcodec/h264_cabac.c | 1 + 1 file changed, 1 insertion(+) 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