mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
libvpxenc: quiet unused-variable warning
with older versions of libvpx
since:
432be63
lavc/libvpx: Fix support for RGB colorspace.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: James Zern <jzern@google.com>
This commit is contained in:
parent
45d3af9059
commit
7586b3adf2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user