Skip to content

Commit

Permalink
avcodec/bitpacked: add missing comma to codec tags
Browse files Browse the repository at this point in the history
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/ffmpeg
Reviewed-by: James Darnley <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Jun 4, 2020
1 parent 5bbd93c commit e34686d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/bitpacked.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ AVCodec ff_bitpacked_decoder = {
.decode = bitpacked_decode,
.capabilities = AV_CODEC_CAP_EXPERIMENTAL,
.codec_tags = (const uint32_t []){
MKTAG('U', 'Y', 'V', 'Y')
MKTAG('U', 'Y', 'V', 'Y'),
FF_CODEC_TAGS_END,
},
};

0 comments on commit e34686d

Please sign in to comment.