[FFmpeg-cvslog] h264: fix cabac-on-stack after safe cabac reader.

Ronald S. Bultje git at videolan.org
Fri Mar 30 06:23:39 CEST 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Wed Mar 28 16:32:27 2012 -0700| [63a1b481f62e2611aaeac0f1edc3496eebe644ab] | committer: Ronald S. Bultje

h264: fix cabac-on-stack after safe cabac reader.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=63a1b481f62e2611aaeac0f1edc3496eebe644ab
---

 libavcodec/h264_cabac.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index 2ee4bc0..8b42f04 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



More information about the ffmpeg-cvslog mailing list