ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Thu Oct 1 20:20:48 2020 +0200| [bba626208000c627e3773f248ab15e2081577e05] | committer: Timo Rothenpieler
avcodec/cuviddec: fix copy&paste error > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bba626208000c627e3773f248ab15e2081577e05 --- libavcodec/cuviddec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c index a3d0bdd93c..5d099e31a2 100644 --- a/libavcodec/cuviddec.c +++ b/libavcodec/cuviddec.c @@ -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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".