diff options
author | James Zern <jzern@google.com> | 2016-02-20 11:19:47 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2016-02-22 20:23:31 -0800 |
commit | 7586b3adf22994fe854764424524b234086ad083 (patch) | |
tree | 1e27eac47a3e37e1b1c898ba6cb9debb5258666c | |
parent | 45d3af90593a8725ea72059fa3572577b30110c8 (diff) | |
download | ffmpeg-7586b3adf22994fe854764424524b234086ad083.tar.gz |
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>
-rw-r--r-- | libavcodec/libvpxenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 12391034f3..4ea932d779 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -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 |