avcodec/cdxl: Check format for BGR24
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 May 2017 09:46:03 +0000 (11:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 May 2017 10:30:09 +0000 (12:30 +0200)
commit1e42736b95065c69a7481d0cf55247024f54b660
tree6c846b905d989a21cd9a1c8907ed10f5b841c63b
parent78f51ecb7411bdea5a07242bcc2c8b0283742c2e
avcodec/cdxl: Check format for BGR24

Fixes: out of array access
Fixes: 1427/clusterfuzz-testcase-minimized-5020737339392000

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cdxl.c