static int mpsub_probe(AVProbeData *p)

{

    const char *ptr     = p->buf;

    const char *ptr_end = p->buf + p->buf_size;



    while (ptr < ptr_end) {

        if (!memcmp(ptr, "FORMAT=TIME", 11))

            return AVPROBE_SCORE_EXTENSION;

        if (!memcmp(ptr, "FORMAT=", 7))

            return AVPROBE_SCORE_EXTENSION / 3;

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

    }

    return 0;

}

static int mpsub_probe(AVProbeData *p)

{

    const char *ptr     = p->buf;

    const char *ptr_end = p->buf + p->buf_size;



    while (ptr < ptr_end) {

        if (!memcmp(ptr, "FORMAT=TIME", 11))

            return AVPROBE_SCORE_EXTENSION;

        if (!memcmp(ptr, "FORMAT=", 7))

            return AVPROBE_SCORE_EXTENSION / 3;

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

    }

    return 0;

}

        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)

{

    const char *VAR_1     = VAR_0->buf;

    const char *VAR_2 = VAR_0->buf + VAR_0->buf_size;



    while (VAR_1 < VAR_2) {

        if (!memcmp(VAR_1, "FORMAT=TIME", 11))

            return AVPROBE_SCORE_EXTENSION;

        if (!memcmp(VAR_1, "FORMAT=", 7))

            return AVPROBE_SCORE_EXTENSION / 3;

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

    }

    return 0;

}

static int FUNC_0(AVProbeData *VAR_0)
{ const char *VAR_1     = VAR_0->buf; const char *VAR_2 = VAR_0->buf + VAR_0->buf_size; while (VAR_1 < VAR_2) { if (!memcmp(VAR_1, "FORMAT=TIME", 11))
return AVPROBE_SCORE_EXTENSION; if (!memcmp(VAR_1, "FORMAT=", 7))
return AVPROBE_SCORE_EXTENSION / 3; VAR_1 += strcspn(VAR_1, "\n") + 1; } return 0; }