aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc.h
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2024-02-29 13:34:33 +0800
committerHaihao Xiang <haihao.xiang@intel.com>2024-05-07 11:06:37 +0800
commitdf76c3756d41e909b78565f49928c43c0f84caf0 (patch)
treeba768a5cd58d059e0b9a7473da05eef34d0c827f /libavcodec/qsvenc.h
parentf5d2dc7b4bd2430c7a3d977b22bd20ef3508505c (diff)
downloadffmpeg-df76c3756d41e909b78565f49928c43c0f84caf0.tar.gz
lavc/qsvenc: always allocate the array to store mfxExtBuffer points
This allows us to append mfxExtBuffer per user's settings Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index c71bf2ed50..f2f0687bfe 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -196,6 +196,7 @@ typedef struct QSVEncContext {
int nb_extparam_internal;
mfxExtBuffer **extparam;
+ int nb_extparam;
AVFifo *async_fifo;