You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/nvenc: use provided constant for max extradata size
This commit is contained in:
@@ -1783,7 +1783,8 @@ static av_cold int nvenc_setup_extradata(AVCodecContext *avctx)
|
||||
|
||||
NVENCSTATUS nv_status;
|
||||
uint32_t outSize = 0;
|
||||
char tmpHeader[256];
|
||||
char tmpHeader[NV_MAX_SEQ_HDR_LEN];
|
||||
|
||||
NV_ENC_SEQUENCE_PARAM_PAYLOAD payload = { 0 };
|
||||
payload.version = NV_ENC_SEQUENCE_PARAM_PAYLOAD_VER;
|
||||
|
||||
|
Reference in New Issue
Block a user