avcodec/videotoolbox: add fall-through annotations

This commit is contained in:
Marvin Scholz
2026-02-17 21:18:57 +01:00
parent c023f91eeb
commit 3c5bb10a87
+2
View File
@@ -26,6 +26,7 @@
#include <TargetConditionals.h>
#include <VideoToolbox/VideoToolbox.h>
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
@@ -548,6 +549,7 @@ static CMVideoCodecType get_cm_codec_type(AVCodecContext *avctx,
default:
av_log(avctx, AV_LOG_ERROR, "Unknown profile ID: %d, using auto\n", profile);
av_fallthrough;
case AV_PROFILE_UNKNOWN:
if (desc &&
((desc->flags & AV_PIX_FMT_FLAG_ALPHA) ||