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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-25 14:25:28 +0300
committerClément Bœsch <u@pkh.me>2017-03-27 22:38:21 +0300
commit12c44d637382cb7364cdd6ac72f0ba5776f286e8 (patch)
treeba181a38db3830fa07818db369f5ccad1153b04a /libavcodec/vp9_mc_template.c
parent1c9f4b507888ac94c7d9f7a6ac9edfe6880fa821 (diff)
lavc/vp9: rename ctx to avctx
This reduces diff with Libav. It also prevents a potential confusion between the private context and the AVCodecContext.
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 e7f226ca90..2d1e9bf8fb 100644
--- a/libavcodec/vp9_mc_template.c
+++ b/libavcodec/vp9_mc_template.c
@@ -27,13 +27,13 @@
(VP56mv) { .x = ROUNDED_DIV(a.x + b.x + c.x + d.x, 4), \
.y = ROUNDED_DIV(a.y + b.y + c.y + d.y, 4) }
-static void FN(inter_pred)(AVCodecContext *ctx)
+static void FN(inter_pred)(AVCodecContext *avctx)
{
static const uint8_t bwlog_tab[2][N_BS_SIZES] = {
{ 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4 },
{ 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4 },
};
- VP9Context *s = ctx->priv_data;
+ VP9Context *s = avctx->priv_data;
VP9Block *b = s->b;
int row = s->row, col = s->col;
ThreadFrame *tref1 = &s->s.refs[s->s.h.refidx[b->ref[0]]], *tref2;