Commit e34686d7 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/bitpacked: add missing comma to codec tags

Fixes: array end overread
Fixes: 22395/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BITPACKED_fuzzer-5760940300828672

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegReviewed-by: 's avatarJames Darnley <james.darnley@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 5bbd93c3
...@@ -147,7 +147,7 @@ AVCodec ff_bitpacked_decoder = { ...@@ -147,7 +147,7 @@ AVCodec ff_bitpacked_decoder = {
.decode = bitpacked_decode, .decode = bitpacked_decode,
.capabilities = AV_CODEC_CAP_EXPERIMENTAL, .capabilities = AV_CODEC_CAP_EXPERIMENTAL,
.codec_tags = (const uint32_t []){ .codec_tags = (const uint32_t []){
MKTAG('U', 'Y', 'V', 'Y') MKTAG('U', 'Y', 'V', 'Y'),
FF_CODEC_TAGS_END, FF_CODEC_TAGS_END,
}, },
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment