mirror of https://git.ffmpeg.org/ffmpeg.git
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;
|
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);
|
memcpy(ctx->cuparse_ext->raw_seqhdr_data, extradata, extradata_size);
|
||||||
|
|
||||||
ctx->cuparseinfo.pExtVideoInfo = ctx->cuparse_ext;
|
ctx->cuparseinfo.pExtVideoInfo = ctx->cuparse_ext;
|
||||||
|
|
Loading…
Reference in New Issue