ffmpeg | branch: master | gavin zhang <[email protected]> | 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 <[email protected]>
Signed-off-by: Haihao Xiang <[email protected]>

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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to