avcodec/psd: add fall-through annotations

This commit is contained in:
Marvin Scholz
2026-04-28 12:29:37 +00:00
parent 3ad3315342
commit 41dbb4412a
+1
View File
@@ -407,6 +407,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *picture,
break;
case PSD_DUOTONE:
av_log(avctx, AV_LOG_WARNING, "ignoring unknown duotone specification.\n");
av_fallthrough;
case PSD_GRAYSCALE:
if (s->layer_count < 0 && s->channel_count >= 2) {
if (s->channel_depth == 8) {