diff options
author | Carl Eugen Hoyos | 2019-11-27 00:03:33 +0100 |
---|---|---|
committer | Carl Eugen Hoyos | 2019-11-27 00:03:33 +0100 |
commit | a2fbdc6898fc72f7f289e750f2199ee66216f2f8 (patch) | |
tree | c30d829d2bdabc33d1eab1440165b8f8f0f0d6ad /libavcodec | |
parent | 32ba563cfccd41cc9b8c69674495fc1d8d705283 (diff) |
lavc/qsvenc: Fix compilation for some build environments.
Reported and tested by Sean Darcy.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qsvenc.c | 2 |
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 |