aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_mpeg4.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-12 17:58:40 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-20 07:56:17 +0200
commit5d93c330f7c71f28d6ee4222175f528f339b1be6 (patch)
treec8a250455c0661fe3a9308cb6025f4a0df85aca6 /libavcodec/vaapi_mpeg4.c
parent4209216ee80bd3e6b617dea142f65e47ca85aadc (diff)
downloadffmpeg-5d93c330f7c71f28d6ee4222175f528f339b1be6.tar.gz
avcodec/mpegvideo: Move sprite-related fields to Mpeg4DecContext
Only used there. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vaapi_mpeg4.c')
-rw-r--r--libavcodec/vaapi_mpeg4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c
index ca3f3b22f6..4e74e0382b 100644
--- a/libavcodec/vaapi_mpeg4.c
+++ b/libavcodec/vaapi_mpeg4.c
@@ -66,7 +66,7 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_
.interlaced = !s->progressive_sequence,
.obmc_disable = 1,
.sprite_enable = ctx->vol_sprite_usage,
- .sprite_warping_accuracy = s->sprite_warping_accuracy,
+ .sprite_warping_accuracy = ctx->sprite_warping_accuracy,
.quant_type = s->mpeg_quant,
.quarter_sample = s->quarter_sample,
.data_partitioned = s->data_partitioning,