[FFmpeg-cvslog] avcodec/libvpxenc: Remove obsolete av_unused

Andreas Rheinhardt git at videolan.org
Fri Mar 29 02:00:13 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Mar 26 17:35:09 2024 +0100| [8d1093a78413be6718a23dcdbed0b21cee7fcfe6] | committer: Andreas Rheinhardt

avcodec/libvpxenc: Remove obsolete av_unused

Forgotten in 753074721bd414874d18c372c491bdc6323fa3bf.

Reviewed-by: James Zern <jzern at google.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d1093a78413be6718a23dcdbed0b21cee7fcfe6
---

 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) {



More information about the ffmpeg-cvslog mailing list