diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2024-02-29 13:34:33 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2024-05-07 11:06:37 +0800 |
commit | df76c3756d41e909b78565f49928c43c0f84caf0 (patch) | |
tree | ba768a5cd58d059e0b9a7473da05eef34d0c827f /libavcodec/qsvenc.h | |
parent | f5d2dc7b4bd2430c7a3d977b22bd20ef3508505c (diff) | |
download | ffmpeg-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.h | 1 |
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; |