static int parse_audio(DBEContext *s, int start, int end, int seg_id)

{

    int ch, ret, key = parse_key(s);



    for (ch = start; ch < end; ch++) {

        if (!s->ch_size[ch]) {

            s->channels[seg_id][ch].nb_groups = 0;

            continue;

        }

        if ((ret = convert_input(s, s->ch_size[ch], key)) < 0)

            return ret;

        if ((ret = parse_channel(s, ch, seg_id)) < 0) {

            if (s->avctx->err_recognition & AV_EF_EXPLODE)

                return ret;

            s->channels[seg_id][ch].nb_groups = 0;

        }

        skip_input(s, s->ch_size[ch]);

    }



    skip_input(s, 1);

    return 0;

}

static int parse_audio(DBEContext *s, int start, int end, int seg_id)

{

    int ch, ret, key = parse_key(s);



    for (ch = start; ch < end; ch++) {

        if (!s->ch_size[ch]) {

            s->channels[seg_id][ch].nb_groups = 0;

            continue;

        }

        if ((ret = convert_input(s, s->ch_size[ch], key)) < 0)

            return ret;

        if ((ret = parse_channel(s, ch, seg_id)) < 0) {

            if (s->avctx->err_recognition & AV_EF_EXPLODE)

                return ret;

            s->channels[seg_id][ch].nb_groups = 0;

        }

        skip_input(s, s->ch_size[ch]);

    }



    skip_input(s, 1);

    return 0;

}

    return 0;     int ch, ret, key = parse_key(s);         skip_input(s, s->ch_size[ch]);     skip_input(s, 1);     return 0;
static int FUNC_0(DBEContext *VAR_0, int VAR_1, int VAR_2, int VAR_3)

{

    int VAR_4, VAR_5, VAR_6 = parse_key(VAR_0);



    for (VAR_4 = VAR_1; VAR_4 < VAR_2; VAR_4++) {

        if (!VAR_0->ch_size[VAR_4]) {

            VAR_0->channels[VAR_3][VAR_4].nb_groups = 0;

            continue;

        }

        if ((VAR_5 = convert_input(VAR_0, VAR_0->ch_size[VAR_4], VAR_6)) < 0)

            return VAR_5;

        if ((VAR_5 = parse_channel(VAR_0, VAR_4, VAR_3)) < 0) {

            if (VAR_0->avctx->err_recognition & AV_EF_EXPLODE)

                return VAR_5;

            VAR_0->channels[VAR_3][VAR_4].nb_groups = 0;

        }

        skip_input(VAR_0, VAR_0->ch_size[VAR_4]);

    }



    skip_input(VAR_0, 1);

    return 0;

}

static int FUNC_0(DBEContext *VAR_0, int VAR_1, int VAR_2, int VAR_3)
{ int VAR_4, VAR_5, VAR_6 = parse_key(VAR_0); for (VAR_4 = VAR_1; VAR_4 < VAR_2; VAR_4++) { if (!VAR_0->ch_size[VAR_4]) { VAR_0->channels[VAR_3][VAR_4].nb_groups = 0; continue; } if ((VAR_5 = convert_input(VAR_0, VAR_0->ch_size[VAR_4], VAR_6)) < 0)
return VAR_5; if ((VAR_5 = parse_channel(VAR_0, VAR_4, VAR_3)) < 0) { if (VAR_0->avctx->err_recognition & AV_EF_EXPLODE)
return VAR_5; VAR_0->channels[VAR_3][VAR_4].nb_groups = 0; } skip_input(VAR_0, VAR_0->ch_size[VAR_4]); } skip_input(VAR_0, 1); return 0; }