You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-16 22:42:38 +02:00
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:
@ -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,
|
struct vpx_codec_enc_cfg *enccfg, vpx_codec_flags_t *flags,
|
||||||
vpx_img_fmt_t *img_fmt)
|
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);
|
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
|
||||||
enccfg->g_bit_depth = enccfg->g_input_bit_depth = desc->comp[0].depth;
|
enccfg->g_bit_depth = enccfg->g_input_bit_depth = desc->comp[0].depth;
|
||||||
switch (avctx->pix_fmt) {
|
switch (avctx->pix_fmt) {
|
||||||
|
Reference in New Issue
Block a user