aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_cabac.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-17 22:28:46 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-21 11:27:13 +0100
commitb063582e0c4f775a8ba377488bd085595e0e7fae (patch)
tree2ea6b975d859df7d1357d79b1d29d67c5d7efbf4 /libavcodec/h264_cabac.c
parent95eb35f30513e335990ad0d5dca6ddc318477291 (diff)
downloadffmpeg-b063582e0c4f775a8ba377488bd085595e0e7fae.tar.gz
h264: move intra_pcm_ptr into the per-slice context
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r--libavcodec/h264_cabac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index 1c236095c0..dd3898d349 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -2031,7 +2031,7 @@ decode_intra_mb:
// The pixels are stored in the same order as levels in h->mb array.
if ((int) (h->cabac.bytestream_end - ptr) < mb_size)
return -1;
- h->intra_pcm_ptr = ptr;
+ sl->intra_pcm_ptr = ptr;
ptr += mb_size;
ff_init_cabac_decoder(&h->cabac, ptr, h->cabac.bytestream_end - ptr);