[FFmpeg-cvslog] libvpxenc: quiet unused-variable warning

James Zern git at videolan.org
Tue Feb 23 05:24:25 CET 2016


ffmpeg | branch: master | James Zern <jzern at 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 <jamrial at gmail.com>
Signed-off-by: James Zern <jzern at 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



More information about the ffmpeg-cvslog mailing list