diff options
author | James Almer <jamrial@gmail.com> | 2021-11-29 02:23:26 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-11-29 02:23:26 +0300 |
commit | 0d924d6e5a4272149bd5ea87d63cbb6e67732345 (patch) | |
tree | 217ab1724cd7d5017dfcec101c638557f6db5974 /libavcodec | |
parent | c7e527f7f395f23d6b41e54c21cd50b110f83f82 (diff) |
avcodec/videotoolbox: silence some -Wimplicit-fallthrough warnings
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/videotoolbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index d2907aee56..284da97541 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -877,6 +877,7 @@ static int videotoolbox_start(AVCodecContext *avctx) switch (avctx->codec_tag) { default: av_log(avctx, AV_LOG_WARNING, "Unknown prores profile %d\n", avctx->codec_tag); + // fall-through case MKTAG('a','p','c','o'): // kCMVideoCodecType_AppleProRes422Proxy case MKTAG('a','p','c','s'): // kCMVideoCodecType_AppleProRes422LT case MKTAG('a','p','c','n'): // kCMVideoCodecType_AppleProRes422 @@ -884,6 +885,7 @@ static int videotoolbox_start(AVCodecContext *avctx) case MKTAG('a','p','4','h'): // kCMVideoCodecType_AppleProRes4444 case MKTAG('a','p','4','x'): // kCMVideoCodecType_AppleProRes4444XQ videotoolbox->cm_codec_type = av_bswap32(avctx->codec_tag); + break; } break; case AV_CODEC_ID_VP9 : |