Commit 7586b3ad authored by James Zern's avatar James Zern

libvpxenc: quiet unused-variable warning

with older versions of libvpx
since:
432be636 lavc/libvpx: Fix support for RGB colorspace.
Reviewed-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarJames Zern <jzern@google.com>
parent 45d3af90
......@@ -278,7 +278,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)
{
VP8Context *ctx = avctx->priv_data;
VP8Context av_unused *ctx = avctx->priv_data;
#ifdef VPX_IMG_FMT_HIGHBITDEPTH
enccfg->g_bit_depth = enccfg->g_input_bit_depth = 8;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment