diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-06-24 12:04:04 +0800 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2022-06-26 21:41:31 +0200 |
commit | ffc91940a4262f605cb650c93e52a657090ae148 (patch) | |
tree | c2ca554f7701c62c1b9dfa653311dd62215aa51a /libavformat/smjpegdec.c | |
parent | 75638fe9402f70645bdde4d95672fa640a327300 (diff) | |
download | ffmpeg-ffc91940a4262f605cb650c93e52a657090ae148.tar.gz |
avcodec/cuviddec: fix AV1 decoding error
cuvidParseVideoData only supports pure OBUs, it reports an unknown
error with AV1CodecConfigurationRecord. Check whether extradata
is AV1CodecConfigurationRecord and skip the first 4 bytes to fix
the issue.
The bug is revealed in ffmpeg cmd since 45e3b6a68 and ffd1316e.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libavformat/smjpegdec.c')
0 files changed, 0 insertions, 0 deletions