static int mpl2_probe(AVProbeData *p)

{

    int i;

    char c;

    int64_t start, end;

    const unsigned char *ptr = p->buf;

    const unsigned char *ptr_end = ptr + p->buf_size;



    for (i = 0; i < 2; i++) {

        if (sscanf(ptr, "[%"SCNd64"][%"SCNd64"]%c", &start, &end, &c) != 3 &&

            sscanf(ptr, "[%"SCNd64"][]%c",          &start,       &c) != 2)

            return 0;

        ptr += strcspn(ptr, "\n") + 1;

        if (ptr >= ptr_end)

            return 0;

    }

    return AVPROBE_SCORE_MAX;

}

static int mpl2_probe(AVProbeData *p)

{

    int i;

    char c;

    int64_t start, end;

    const unsigned char *ptr = p->buf;

    const unsigned char *ptr_end = ptr + p->buf_size;



    for (i = 0; i < 2; i++) {

        if (sscanf(ptr, "[%"SCNd64"][%"SCNd64"]%c", &start, &end, &c) != 3 &&

            sscanf(ptr, "[%"SCNd64"][]%c",          &start,       &c) != 2)

            return 0;

        ptr += strcspn(ptr, "\n") + 1;

        if (ptr >= ptr_end)

            return 0;

    }

    return AVPROBE_SCORE_MAX;

}

        ptr += strcspn(ptr, "\n") + 1;         ptr += strcspn(ptr, "\n") + 1;         ptr += strcspn(ptr, "\n") + 1;         ptr += strcspn(ptr, "\n") + 1;         ptr += strcspn(ptr, "\n") + 1;
static int FUNC_0(AVProbeData *VAR_0)

{

    int VAR_1;

    char VAR_2;

    int64_t start, end;

    const unsigned char *VAR_3 = VAR_0->buf;

    const unsigned char *VAR_4 = VAR_3 + VAR_0->buf_size;



    for (VAR_1 = 0; VAR_1 < 2; VAR_1++) {

        if (sscanf(VAR_3, "[%"SCNd64"][%"SCNd64"]%VAR_2", &start, &end, &VAR_2) != 3 &&

            sscanf(VAR_3, "[%"SCNd64"][]%VAR_2",          &start,       &VAR_2) != 2)

            return 0;

        VAR_3 += strcspn(VAR_3, "\n") + 1;

        if (VAR_3 >= VAR_4)

            return 0;

    }

    return AVPROBE_SCORE_MAX;

}

static int FUNC_0(AVProbeData *VAR_0)
{ int VAR_1; char VAR_2; int64_t start, end; const unsigned char *VAR_3 = VAR_0->buf; const unsigned char *VAR_4 = VAR_3 + VAR_0->buf_size; for (VAR_1 = 0; VAR_1 < 2; VAR_1++) { if (sscanf(VAR_3, "[%"SCNd64"][%"SCNd64"]%VAR_2", &start, &end, &VAR_2) != 3 &&
sscanf(VAR_3, "[%"SCNd64"][]%VAR_2",          &start,       &VAR_2) != 2)
return 0; VAR_3 += strcspn(VAR_3, "\n") + 1; if (VAR_3 >= VAR_4)
return 0; } return AVPROBE_SCORE_MAX; }