static int sdp_probe(AVProbeData *p1)

{

    const char *p = p1->buf, *p_end = p1->buf + p1->buf_size;



    /* we look for a line beginning "c=IN IP4" */

    while (p < p_end && *p != '\0') {

        if (p + sizeof("c=IN IP4") - 1 < p_end && av_strstart(p, "c=IN IP4", NULL))

            return AVPROBE_SCORE_MAX / 2;



        while(p < p_end - 1 && *p != '\n') p++;

        if (++p >= p_end)

            break;

        if (*p == '\r')

            p++;

    }

    return 0;

}

static int sdp_probe(AVProbeData *p1)

{

    const char *p = p1->buf, *p_end = p1->buf + p1->buf_size;



    

    while (p < p_end && *p != '\0') {

        if (p + sizeof("c=IN IP4") - 1 < p_end && av_strstart(p, "c=IN IP4", NULL))

            return AVPROBE_SCORE_MAX / 2;



        while(p < p_end - 1 && *p != '\n') p++;

        if (++p >= p_end)

            break;

        if (*p == '\r')

            p++;

    }

    return 0;

}

static int FUNC_0(AVProbeData *VAR_0)

{

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



    

    while (VAR_1 < VAR_2 && *VAR_1 != '\0') {

        if (VAR_1 + sizeof("c=IN IP4") - 1 < VAR_2 && av_strstart(VAR_1, "c=IN IP4", NULL))

            return AVPROBE_SCORE_MAX / 2;



        while(VAR_1 < VAR_2 - 1 && *VAR_1 != '\n') VAR_1++;

        if (++VAR_1 >= VAR_2)

            break;

        if (*VAR_1 == '\r')

            VAR_1++;

    }

    return 0;

}

static int FUNC_0(AVProbeData *VAR_0)
{ const char *VAR_1 = VAR_0->buf, *VAR_2 = VAR_0->buf + VAR_0->buf_size; while (VAR_1 < VAR_2 && *VAR_1 != '\0') { if (VAR_1 + sizeof("c=IN IP4") - 1 < VAR_2 && av_strstart(VAR_1, "c=IN IP4", NULL))
return AVPROBE_SCORE_MAX / 2; while(VAR_1 < VAR_2 - 1 && *VAR_1 != '\n') VAR_1++; if (++VAR_1 >= VAR_2)
break; if (*VAR_1 == '\r')
VAR_1++; } return 0; }