Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2015-10-14 10:51:54 +0300
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-15 14:02:20 +0300
commitb95f241b6e6360eef8073b4c7b55bd0e3eb73aca (patch)
treecba765f68afaa7f2faf2be07c1ccddefdb721958 /libavcodec/vp9_mc_template.c
parentf2f55bd9ca45001dea0d80c137fa93d1b9b7d01c (diff)
vp9: split header into separate struct and expose in vp9.h
This allows hwaccels to access the bitstream header information.
Diffstat (limited to 'libavcodec/vp9_mc_template.c')
-rw-r--r--libavcodec/vp9_mc_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp9_mc_template.c b/libavcodec/vp9_mc_template.c
index f4eb4e56ac..aa848ea0e7 100644
--- a/libavcodec/vp9_mc_template.c
+++ b/libavcodec/vp9_mc_template.c
@@ -36,14 +36,14 @@ static void FN(inter_pred)(AVCodecContext *ctx)
VP9Context *s = ctx->priv_data;
VP9Block *b = s->b;
int row = s->row, col = s->col;
- ThreadFrame *tref1 = &s->refs[s->refidx[b->ref[0]]], *tref2;
+ ThreadFrame *tref1 = &s->refs[s->s.h.refidx[b->ref[0]]], *tref2;
AVFrame *ref1 = tref1->f, *ref2;
int w1 = ref1->width, h1 = ref1->height, w2, h2;
ptrdiff_t ls_y = s->y_stride, ls_uv = s->uv_stride;
int bytesperpixel = BYTES_PER_PIXEL;
if (b->comp) {
- tref2 = &s->refs[s->refidx[b->ref[1]]];
+ tref2 = &s->refs[s->s.h.refidx[b->ref[1]]];
ref2 = tref2->f;
w2 = ref2->width;
h2 = ref2->height;