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>
This commit is contained in:
gavin zhang 2022-08-23 14:19:05 +08:00 committed by Haihao Xiang
parent ea56f7d5e7
commit f5c5c04c14
1 changed files with 1 additions and 1 deletions

View File

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