mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/cuviddec: fix copy&paste error
This commit is contained in:
parent
22a2386a56
commit
bba6262080
@ -961,7 +961,7 @@ static av_cold int cuvid_decode_init(AVCodecContext *avctx)
|
||||
goto error;
|
||||
}
|
||||
|
||||
ctx->cuparse_ext->format.seqhdr_data_length = avctx->extradata_size;
|
||||
ctx->cuparse_ext->format.seqhdr_data_length = extradata_size;
|
||||
memcpy(ctx->cuparse_ext->raw_seqhdr_data, extradata, extradata_size);
|
||||
|
||||
ctx->cuparseinfo.pExtVideoInfo = ctx->cuparse_ext;
|
||||
|
Loading…
Reference in New Issue
Block a user