avcodec/libxavs2: Add av_fallthrough

Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-04-28 21:18:03 +02:00
parent 8881e1a52c
commit dc12dd82a1
+1
View File
@@ -195,6 +195,7 @@ static int xavs2_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
xavs2_copy_frame(&pic, frame);
break;
}
av_fallthrough;
default:
av_log(avctx, AV_LOG_ERROR, "Unsupported pixel format\n");
return AVERROR(EINVAL);