From a2fbdc6898fc72f7f289e750f2199ee66216f2f8 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 27 Nov 2019 00:03:33 +0100 Subject: lavc/qsvenc: Fix compilation for some build environments. Reported and tested by Sean Darcy. --- libavcodec/qsvenc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/qsvenc.c') diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 93d49ba21d..1bc5600061 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -824,7 +824,9 @@ static int qsv_retrieve_enc_vp9_params(AVCodecContext *avctx, QSVEncContext *q) #endif mfxExtBuffer *ext_buffers[] = { +#if QSV_HAVE_EXT_VP9_PARAM (mfxExtBuffer*)&vp9_extend_buf, +#endif #if QSV_HAVE_CO2 (mfxExtBuffer*)&co2, #endif -- cgit v1.2.3