mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-04 14:40:26 +00:00
avcodec/videotoolbox: add fall-through annotations
This commit is contained in:
parent
c023f91eeb
commit
3c5bb10a87
1 changed files with 2 additions and 0 deletions
|
|
@ -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) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue