h264: fix cabac-on-stack after safe cabac reader.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 28 Mar 2012 23:32:27 +0000 (16:32 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 28 Mar 2012 23:35:42 +0000 (16:35 -0700)
libavcodec/h264_cabac.c

index 2ee4bc0..8b42f04 100644 (file)
@@ -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