[FFmpeg-devel] [PATCH 2/6] vaapi: Remove H.264 baseline profile

Moritz Barsnick barsnick at gmx.net
Mon Oct 9 14:19:16 EEST 2017


On Sun, Oct 08, 2017 at 16:49:58 +0100, Mark Thompson wrote:
>      switch (avctx->profile) {
> +    case FF_PROFILE_H264_BASELINE:
> +        av_log(avctx, AV_LOG_WARNING, "H.264 baseline profile is not "
> +               "supported, using constrained baseline profile instead.\n");
> +        avctx->profile = FF_PROFILE_H264_CONSTRAINED_BASELINE;
>      case FF_PROFILE_H264_CONSTRAINED_BASELINE:

I recall a discussion that linting/analysis tools such as Coverty
require a fall-through to be marked as such.

>         /* fall-through */
>     case FF_PROFILE_H264_CONSTRAINED_BASELINE:

Cheers,
Moritz


More information about the ffmpeg-devel mailing list