avcodec/libvpxenc: Remove obsolete av_unused
Forgotten in 753074721b.
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
1093b40218
commit
8d1093a784
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue