[FFmpeg-cvslog] lavc/qsvenc: enlarge the SPS buffer to retrieve larger header
gavin zhang
git at videolan.org
Mon Aug 29 04:53:54 EEST 2022
ffmpeg | branch: master | gavin zhang <gavin.zhang at intel.com> | Tue Aug 23 14:19:05 2022 +0800| [f5c5c04c1452274d223f663bd8ebc9d721acdf0e] | committer: Haihao Xiang
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 at intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5c5c04c1452274d223f663bd8ebc9d721acdf0e
---
libavcodec/qsvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 = {
More information about the ffmpeg-cvslog
mailing list