real_parse_asm_rule(AVStream *st, const char *p, const char *end)

{

    do {

        /* can be either averagebandwidth= or AverageBandwidth= */

#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI

        if (sscanf(p, " %*1[Aa]verage%*1[Bb]andwidth=%d", &st->codec->bit_rate) == 1)

#else

        if (sscanf(p, " %*1[Aa]verage%*1[Bb]andwidth=%"SCNd64, &st->codec->bit_rate) == 1)

#endif

            break;

        if (!(p = strchr(p, ',')) || p > end)

            p = end;

        p++;

    } while (p < end);

}

real_parse_asm_rule(AVStream *st, const char *p, const char *end)

{

    do {

        

#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI

        if (sscanf(p, " %*1[Aa]verage%*1[Bb]andwidth=%d", &st->codec->bit_rate) == 1)

#else

        if (sscanf(p, " %*1[Aa]verage%*1[Bb]andwidth=%"SCNd64, &st->codec->bit_rate) == 1)

#endif

            break;

        if (!(p = strchr(p, ',')) || p > end)

            p = end;

        p++;

    } while (p < end);

}

FUNC_0(AVStream *VAR_0, const char *VAR_1, const char *VAR_2)

{

    do {

        

#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI

        if (sscanf(VAR_1, " %*1[Aa]verage%*1[Bb]andwidth=%d", &VAR_0->codec->bit_rate) == 1)

#else

        if (sscanf(VAR_1, " %*1[Aa]verage%*1[Bb]andwidth=%"SCNd64, &VAR_0->codec->bit_rate) == 1)

#endif

            break;

        if (!(VAR_1 = strchr(VAR_1, ',')) || VAR_1 > VAR_2)

            VAR_1 = VAR_2;

        VAR_1++;

    } while (VAR_1 < VAR_2);

}

FUNC_0(AVStream *VAR_0, const char *VAR_1, const char *VAR_2)
{ do { #if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
if (sscanf(VAR_1, " %*1[Aa]verage%*1[Bb]andwidth=%d", &VAR_0->codec->bit_rate) == 1)
#else
if (sscanf(VAR_1, " %*1[Aa]verage%*1[Bb]andwidth=%"SCNd64, &VAR_0->codec->bit_rate) == 1)
#endif
break; if (!(VAR_1 = strchr(VAR_1, ',')) || VAR_1 > VAR_2)
VAR_1 = VAR_2; VAR_1++; } while (VAR_1 < VAR_2); }