diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 584755dfd2..f0a409f0a8 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -669,6 +669,7 @@ static int read_header(FFV1Context *f) return AVERROR(ENOSYS); } switch (f->avctx->bits_per_raw_sample) { + case 0: case 8: f->avctx->pix_fmt = AV_PIX_FMT_RGB32; break;