projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98569d8
)
hevc: Use the local context variable when needed
author
Luca Barbato
<lu_zero@gentoo.org>
Wed, 18 Jun 2014 02:13:20 +0000
(
04:13
+0200)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Thu, 3 Jul 2014 03:30:49 +0000
(23:30 -0400)
libavcodec/hevc.c
patch
|
blob
|
history
diff --git
a/libavcodec/hevc.c
b/libavcodec/hevc.c
index
66e7dd3
..
9ba136d
100644
(file)
--- 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,