static int sol_probe(AVProbeData *p)

{

    /* check file header */

    uint16_t magic;

    if (p->buf_size <= 14)

        return 0;

    magic=le2me_16(*((uint16_t*)p->buf));

    if ((magic == 0x0B8D || magic == 0x0C0D || magic == 0x0C8D) &&

        p->buf[2] == 'S' && p->buf[3] == 'O' &&

        p->buf[4] == 'L' && p->buf[5] == 0)

        return AVPROBE_SCORE_MAX;

    else

        return 0;

}

static int sol_probe(AVProbeData *p)

{

    

    uint16_t magic;

    if (p->buf_size <= 14)

        return 0;

    magic=le2me_16(*((uint16_t*)p->buf));

    if ((magic == 0x0B8D || magic == 0x0C0D || magic == 0x0C8D) &&

        p->buf[2] == 'S' && p->buf[3] == 'O' &&

        p->buf[4] == 'L' && p->buf[5] == 0)

        return AVPROBE_SCORE_MAX;

    else

        return 0;

}

static int FUNC_0(AVProbeData *VAR_0)

{

    

    uint16_t magic;

    if (VAR_0->buf_size <= 14)

        return 0;

    magic=le2me_16(*((uint16_t*)VAR_0->buf));

    if ((magic == 0x0B8D || magic == 0x0C0D || magic == 0x0C8D) &&

        VAR_0->buf[2] == 'S' && VAR_0->buf[3] == 'O' &&

        VAR_0->buf[4] == 'L' && VAR_0->buf[5] == 0)

        return AVPROBE_SCORE_MAX;

    else

        return 0;

}

static int FUNC_0(AVProbeData *VAR_0)
{ uint16_t magic; if (VAR_0->buf_size <= 14)
return 0; magic=le2me_16(*((uint16_t*)VAR_0->buf)); if ((magic == 0x0B8D || magic == 0x0C0D || magic == 0x0C8D) &&
VAR_0->buf[2] == 'S' && VAR_0->buf[3] == 'O' &&
VAR_0->buf[4] == 'L' && VAR_0->buf[5] == 0)
return AVPROBE_SCORE_MAX; else
return 0; }