提交 bba62620 编写于 作者: T Timo Rothenpieler

avcodec/cuviddec: fix copy&paste error

上级 22a2386a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册