Browse Source

lavc/qsvenc: Fix compilation for some build environments.

Reported and tested by Sean Darcy.
tags/n4.3
Carl Eugen Hoyos 6 years ago
parent
commit
a2fbdc6898
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/qsvenc.c

+ 2
- 0
libavcodec/qsvenc.c View File

@@ -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


Loading…
Cancel
Save