diff options
author | gavin zhang <gavin.zhang@intel.com> | 2022-08-23 14:19:05 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-08-29 09:37:49 +0800 |
commit | f5c5c04c1452274d223f663bd8ebc9d721acdf0e (patch) | |
tree | b93b6f72071a988d7b650310c0281de475a323e9 | |
parent | ea56f7d5e71ccab1b6fa44f1091153f91c1d4aeb (diff) | |
download | ffmpeg-f5c5c04c1452274d223f663bd8ebc9d721acdf0e.tar.gz |
lavc/qsvenc: enlarge the SPS buffer to retrieve larger header
Increase SPS header buffer to support larger header
Signed-off-by: gavin zhang <gavin.zhang@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
-rw-r--r-- | libavcodec/qsvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index f1838ce597..7ac5390f10 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -1064,7 +1064,7 @@ static int qsv_retrieve_enc_params(AVCodecContext *avctx, QSVEncContext *q) { AVCPBProperties *cpb_props; - uint8_t sps_buf[128]; + uint8_t sps_buf[512]; uint8_t pps_buf[128]; mfxExtCodingOptionSPSPPS extradata = { |