static void assert_codec_experimental(AVCodecContext *c, int encoder)

{

    const char *codec_string = encoder ? "encoder" : "decoder";

    AVCodec *codec;

    if (c->codec->capabilities & CODEC_CAP_EXPERIMENTAL &&

        c->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {

        av_log(NULL, AV_LOG_FATAL, "%s '%s' is experimental and might produce bad "

                "results.\nAdd '-strict experimental' if you want to use it.\n",

                codec_string, c->codec->name);

        codec = encoder ? avcodec_find_encoder(c->codec->id) : avcodec_find_decoder(c->codec->id);

        if (!(codec->capabilities & CODEC_CAP_EXPERIMENTAL))

            av_log(NULL, AV_LOG_FATAL, "Or use the non experimental %s '%s'.\n",

                   codec_string, codec->name);

        exit(1);

    }

}

static void assert_codec_experimental(AVCodecContext *c, int encoder)

{

    const char *codec_string = encoder ? "encoder" : "decoder";

    AVCodec *codec;

    if (c->codec->capabilities & CODEC_CAP_EXPERIMENTAL &&

        c->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {

        av_log(NULL, AV_LOG_FATAL, "%s '%s' is experimental and might produce bad "

                "results.\nAdd '-strict experimental' if you want to use it.\n",

                codec_string, c->codec->name);

        codec = encoder ? avcodec_find_encoder(c->codec->id) : avcodec_find_decoder(c->codec->id);

        if (!(codec->capabilities & CODEC_CAP_EXPERIMENTAL))

            av_log(NULL, AV_LOG_FATAL, "Or use the non experimental %s '%s'.\n",

                   codec_string, codec->name);

        exit(1);

    }

}

static void FUNC_0(AVCodecContext *VAR_0, int VAR_1)

{

    const char *VAR_2 = VAR_1 ? "VAR_1" : "decoder";

    AVCodec *codec;

    if (VAR_0->codec->capabilities & CODEC_CAP_EXPERIMENTAL &&

        VAR_0->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {

        av_log(NULL, AV_LOG_FATAL, "%s '%s' is experimental and might produce bad "

                "results.\nAdd '-strict experimental' if you want to use it.\n",

                VAR_2, VAR_0->codec->name);

        codec = VAR_1 ? avcodec_find_encoder(VAR_0->codec->id) : avcodec_find_decoder(VAR_0->codec->id);

        if (!(codec->capabilities & CODEC_CAP_EXPERIMENTAL))

            av_log(NULL, AV_LOG_FATAL, "Or use the non experimental %s '%s'.\n",

                   VAR_2, codec->name);

        exit(1);

    }

}

static void FUNC_0(AVCodecContext *VAR_0, int VAR_1)
{ const char *VAR_2 = VAR_1 ? "VAR_1" : "decoder"; AVCodec *codec; if (VAR_0->codec->capabilities & CODEC_CAP_EXPERIMENTAL &&
VAR_0->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { av_log(NULL, AV_LOG_FATAL, "%s '%s' is experimental and might produce bad "
"results.\nAdd '-strict experimental' if you want to use it.\n",
VAR_2, VAR_0->codec->name); codec = VAR_1 ? avcodec_find_encoder(VAR_0->codec->id) : avcodec_find_decoder(VAR_0->codec->id); if (!(codec->capabilities & CODEC_CAP_EXPERIMENTAL))
av_log(NULL, AV_LOG_FATAL, "Or use the non experimental %s '%s'.\n",
VAR_2, codec->name); exit(1); } }