summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-06-18 04:13:20 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-07-02 23:30:49 -0400
commitdf949b645b12d62bb4da56d629a887c81f67f2e5 (patch)
tree3bddc7efa94aaa6edd698a44a2d253d73555d11c /libavcodec
parent98569d89638efc325042bd0081e9a02181afdafa (diff)
hevc: Use the local context variable when needed
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 66e7dd32c8..9ba136dd70 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -1467,7 +1467,7 @@ static int hls_pcm_sample(HEVCContext *s, int x0, int y0, int log2_cb_size)
uint8_t *dst2 = &s->frame->data[2][(y0 >> s->sps->vshift[2]) * stride2 + ((x0 >> s->sps->hshift[2]) << s->sps->pixel_shift)];
int length = cb_size * cb_size * s->sps->pcm.bit_depth + ((cb_size * cb_size) >> 1) * s->sps->pcm.bit_depth_chroma;
- const uint8_t *pcm = skip_bytes(&s->HEVClc.cc, (length + 7) >> 3);
+ const uint8_t *pcm = skip_bytes(&lc->cc, (length + 7) >> 3);
int ret;
ff_hevc_deblocking_boundary_strengths(s, x0, y0, log2_cb_size,