static int mpegts_read_close(AVFormatContext *s)

{

    MpegTSContext *ts = s->priv_data;

    int i;



    clear_programs(ts);



    for(i=0;i<NB_PID_MAX;i++)

        if (ts->pids[i]) mpegts_close_filter(ts, ts->pids[i]);



    return 0;

}

static int mpegts_read_close(AVFormatContext *s)

{

    MpegTSContext *ts = s->priv_data;

    int i;



    clear_programs(ts);



    for(i=0;i<NB_PID_MAX;i++)

        if (ts->pids[i]) mpegts_close_filter(ts, ts->pids[i]);



    return 0;

}

static int mpegts_read_close(AVFormatContext *s)     MpegTSContext *ts = s->priv_data;     int i;     for(i=0;i<NB_PID_MAX;i++)
static int FUNC_0(AVFormatContext *VAR_0)

{

    MpegTSContext *ts = VAR_0->priv_data;

    int VAR_1;



    clear_programs(ts);



    for(VAR_1=0;VAR_1<NB_PID_MAX;VAR_1++)

        if (ts->pids[VAR_1]) mpegts_close_filter(ts, ts->pids[VAR_1]);



    return 0;

}

static int FUNC_0(AVFormatContext *VAR_0)
{ MpegTSContext *ts = VAR_0->priv_data; int VAR_1; clear_programs(ts); for(VAR_1=0;VAR_1<NB_PID_MAX;VAR_1++) if (ts->pids[VAR_1]) mpegts_close_filter(ts, ts->pids[VAR_1]); return 0; }