aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos2019-11-27 00:03:33 +0100
committerCarl Eugen Hoyos2019-11-27 00:03:33 +0100
commita2fbdc6898fc72f7f289e750f2199ee66216f2f8 (patch)
treec30d829d2bdabc33d1eab1440165b8f8f0f0d6ad
parent32ba563cfccd41cc9b8c69674495fc1d8d705283 (diff)
lavc/qsvenc: Fix compilation for some build environments.
Reported and tested by Sean Darcy.
-rw-r--r--libavcodec/qsvenc.c2
1 files changed, 2 insertions, 0 deletions
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