diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2020-10-01 20:20:48 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2020-10-01 20:20:48 +0200 |
commit | bba626208000c627e3773f248ab15e2081577e05 (patch) | |
tree | 93866cba094ed69ceaee333bb2b6ca3fa742a4dc | |
parent | 22a2386a561ccbaabbbfd5cf7f89b2cbbade71b0 (diff) | |
download | ffmpeg-bba626208000c627e3773f248ab15e2081577e05.tar.gz |
avcodec/cuviddec: fix copy&paste error
-rw-r--r-- | libavcodec/cuviddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |