ffmpeg | branch: master | James Zern <jz...@google.com> | Sat Feb 20 11:19:47 2016 -0800| [7586b3adf22994fe854764424524b234086ad083] | committer: James Zern
libvpxenc: quiet unused-variable warning with older versions of libvpx since: 432be63 lavc/libvpx: Fix support for RGB colorspace. Reviewed-by: James Almer <jamr...@gmail.com> Signed-off-by: James Zern <jz...@google.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7586b3adf22994fe854764424524b234086ad083 --- libavcodec/libvpxenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 1239103..4ea932d 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 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog