aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-26 17:35:09 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-29 00:58:05 +0100
commit8d1093a78413be6718a23dcdbed0b21cee7fcfe6 (patch)
tree6881b43d63a24aa1a825def817075d80865cab68
parent1093b402183c17c51678bcbed900e19bc5a9b838 (diff)
downloadffmpeg-8d1093a78413be6718a23dcdbed0b21cee7fcfe6.tar.gz
avcodec/libvpxenc: Remove obsolete av_unused
Forgotten in 753074721bd414874d18c372c491bdc6323fa3bf. Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/libvpxenc.c2
1 files changed, 1 insertions, 1 deletions
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) {