static void set_stream_info_from_input_stream(AVStream *st, struct playlist *pls, AVStream *ist)

{

    avcodec_parameters_copy(st->codecpar, ist->codecpar);



    if (pls->is_id3_timestamped) /* custom timestamps via id3 */

        avpriv_set_pts_info(st, 33, 1, MPEG_TIME_BASE);

    else

        avpriv_set_pts_info(st, ist->pts_wrap_bits, ist->time_base.num, ist->time_base.den);



    st->internal->need_context_update = 1;

}

static void set_stream_info_from_input_stream(AVStream *st, struct playlist *pls, AVStream *ist)

{

    avcodec_parameters_copy(st->codecpar, ist->codecpar);



    if (pls->is_id3_timestamped) 

        avpriv_set_pts_info(st, 33, 1, MPEG_TIME_BASE);

    else

        avpriv_set_pts_info(st, ist->pts_wrap_bits, ist->time_base.num, ist->time_base.den);



    st->internal->need_context_update = 1;

}

static void FUNC_0(AVStream *VAR_0, struct playlist *VAR_1, AVStream *VAR_2)

{

    avcodec_parameters_copy(VAR_0->codecpar, VAR_2->codecpar);



    if (VAR_1->is_id3_timestamped) 

        avpriv_set_pts_info(VAR_0, 33, 1, MPEG_TIME_BASE);

    else

        avpriv_set_pts_info(VAR_0, VAR_2->pts_wrap_bits, VAR_2->time_base.num, VAR_2->time_base.den);



    VAR_0->internal->need_context_update = 1;

}

static void FUNC_0(AVStream *VAR_0, struct playlist *VAR_1, AVStream *VAR_2)
{ avcodec_parameters_copy(VAR_0->codecpar, VAR_2->codecpar); if (VAR_1->is_id3_timestamped)
avpriv_set_pts_info(VAR_0, 33, 1, MPEG_TIME_BASE); else
avpriv_set_pts_info(VAR_0, VAR_2->pts_wrap_bits, VAR_2->time_base.num, VAR_2->time_base.den); VAR_0->internal->need_context_update = 1; }