From 8d1093a78413be6718a23dcdbed0b21cee7fcfe6 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 26 Mar 2024 17:35:09 +0100 Subject: [PATCH] avcodec/libvpxenc: Remove obsolete av_unused Forgotten in 753074721bd414874d18c372c491bdc6323fa3bf. Reviewed-by: James Zern Signed-off-by: Andreas Rheinhardt --- libavcodec/libvpxenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index ee903a4e5c..1b19efe90a 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -785,7 +785,7 @@ static int set_pix_fmt(AVCodecContext *avctx, vpx_codec_caps_t codec_caps, struct vpx_codec_enc_cfg *enccfg, vpx_codec_flags_t *flags, vpx_img_fmt_t *img_fmt) { - VPxContext av_unused *ctx = avctx->priv_data; + VPxContext *ctx = avctx->priv_data; const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt); enccfg->g_bit_depth = enccfg->g_input_bit_depth = desc->comp[0].depth; switch (avctx->pix_fmt) {