diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 1bc5600061..4f103b9ff6 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -764,10 +764,10 @@ FF_ENABLE_DEPRECATION_WARNINGS #if QSV_HAVE_EXT_VP9_PARAM if (avctx->codec_id == AV_CODEC_ID_VP9) { - q->extvp9param.Header.BufferId = MFX_EXTBUFF_VP9_PARAM; - q->extvp9param.Header.BufferSz = sizeof(q->extvp9param); - q->extvp9param.WriteIVFHeaders = MFX_CODINGOPTION_OFF; - q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extvp9param; + q->extvp9param.Header.BufferId = MFX_EXTBUFF_VP9_PARAM; + q->extvp9param.Header.BufferSz = sizeof(q->extvp9param); + q->extvp9param.WriteIVFHeaders = MFX_CODINGOPTION_OFF; + q->extparam_internal[q->nb_extparam_internal++] = (mfxExtBuffer *)&q->extvp9param; } #endif diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index a3e9357865..ee35582075 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -125,7 +125,7 @@ typedef struct QSVEncContext { mfxExtMultiFrameControl extmfc; #endif #if QSV_HAVE_EXT_VP9_PARAM - mfxExtVP9Param extvp9param; + mfxExtVP9Param extvp9param; #endif mfxExtOpaqueSurfaceAlloc opaque_alloc;