summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cabac.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-03-28 16:32:27 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-03-28 16:35:42 -0700
commit63a1b481f62e2611aaeac0f1edc3496eebe644ab (patch)
treed87ba0997ec18afdaa7e162808f13f4c6e04043f /libavcodec/h264_cabac.c
parentbd508d435b94584db460c684e30ea7ce180cf50f (diff)
h264: fix cabac-on-stack after safe cabac reader.
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r--libavcodec/h264_cabac.c1
1 files changed, 1 insertions, 0 deletions
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