summaryrefslogtreecommitdiff
path: root/libavcodec/huffyuvdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-07-03 23:25:07 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-07-13 14:42:57 +0200
commit6aaa01afe4fb774d0767684aa00f075b0ee5fca6 (patch)
treee90eba46f042359550659a4634c91b719117f0f0 /libavcodec/huffyuvdec.c
parent9b5249a441a3581929329e8af1b63e20dc98c3d2 (diff)
avcodec/huffyuv: remove gray8a (the format is listed but not supported by the implementation)
Fixes: null pointer dereference Fixes: 15464/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HYMT_fuzzer-5681391150301184 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/huffyuvdec.c')
-rw-r--r--libavcodec/huffyuvdec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c
index 27f650d7bf..771481fd03 100644
--- a/libavcodec/huffyuvdec.c
+++ b/libavcodec/huffyuvdec.c
@@ -418,9 +418,6 @@ static av_cold int decode_init(AVCodecContext *avctx)
case 0x0F0:
avctx->pix_fmt = AV_PIX_FMT_GRAY16;
break;
- case 0x170:
- avctx->pix_fmt = AV_PIX_FMT_GRAY8A;
- break;
case 0x470:
avctx->pix_fmt = AV_PIX_FMT_GBRP;
break;