ff_rdt_parse_open(AVFormatContext *ic, int first_stream_of_set_idx,

                  void *priv_data, RTPDynamicProtocolHandler *handler)

{

    RDTDemuxContext *s = av_mallocz(sizeof(RDTDemuxContext));

    if (!s)

        return NULL;



    s->ic = ic;

    s->streams = &ic->streams[first_stream_of_set_idx];

    do {

        s->n_streams++;

    } while (first_stream_of_set_idx + s->n_streams < ic->nb_streams &&

             s->streams[s->n_streams]->priv_data == s->streams[0]->priv_data);

    s->prev_set_id    = -1;

    s->prev_stream_id = -1;

    s->prev_timestamp = -1;

    s->parse_packet = handler->parse_packet;

    s->dynamic_protocol_context = priv_data;



    return s;

}

ff_rdt_parse_open(AVFormatContext *ic, int first_stream_of_set_idx,

                  void *priv_data, RTPDynamicProtocolHandler *handler)

{

    RDTDemuxContext *s = av_mallocz(sizeof(RDTDemuxContext));

    if (!s)

        return NULL;



    s->ic = ic;

    s->streams = &ic->streams[first_stream_of_set_idx];

    do {

        s->n_streams++;

    } while (first_stream_of_set_idx + s->n_streams < ic->nb_streams &&

             s->streams[s->n_streams]->priv_data == s->streams[0]->priv_data);

    s->prev_set_id    = -1;

    s->prev_stream_id = -1;

    s->prev_timestamp = -1;

    s->parse_packet = handler->parse_packet;

    s->dynamic_protocol_context = priv_data;



    return s;

}

    s->parse_packet = handler->parse_packet;
FUNC_0(AVFormatContext *VAR_0, int VAR_1,

                  void *VAR_2, RTPDynamicProtocolHandler *VAR_3)

{

    RDTDemuxContext *s = av_mallocz(sizeof(RDTDemuxContext));

    if (!s)

        return NULL;



    s->VAR_0 = VAR_0;

    s->streams = &VAR_0->streams[VAR_1];

    do {

        s->n_streams++;

    } while (VAR_1 + s->n_streams < VAR_0->nb_streams &&

             s->streams[s->n_streams]->VAR_2 == s->streams[0]->VAR_2);

    s->prev_set_id    = -1;

    s->prev_stream_id = -1;

    s->prev_timestamp = -1;

    s->parse_packet = VAR_3->parse_packet;

    s->dynamic_protocol_context = VAR_2;



    return s;

}

FUNC_0(AVFormatContext *VAR_0, int VAR_1,
void *VAR_2, RTPDynamicProtocolHandler *VAR_3)
{ RDTDemuxContext *s = av_mallocz(sizeof(RDTDemuxContext)); if (!s)
return NULL; s->VAR_0 = VAR_0; s->streams = &VAR_0->streams[VAR_1]; do { s->n_streams++; } while (VAR_1 + s->n_streams < VAR_0->nb_streams && s->streams[s->n_streams]->VAR_2 == s->streams[0]->VAR_2); s->prev_set_id    = -1; s->prev_stream_id = -1; s->prev_timestamp = -1; s->parse_packet = VAR_3->parse_packet; s->dynamic_protocol_context = VAR_2; return s; }