static void mpegts_close_filter(MpegTSContext *ts, MpegTSFilter *filter)

{

    int pid;



    pid = filter->pid;

    if (filter->type == MPEGTS_SECTION)

        av_freep(&filter->u.section_filter.section_buf);










    av_free(filter);

    ts->pids[pid] = NULL;

static void mpegts_close_filter(MpegTSContext *ts, MpegTSFilter *filter)

{

    int pid;



    pid = filter->pid;

    if (filter->type == MPEGTS_SECTION)

        av_freep(&filter->u.section_filter.section_buf);










    av_free(filter);

    ts->pids[pid] = NULL;

static void FUNC_0(MpegTSContext *VAR_0, MpegTSFilter *VAR_1)

{

    int VAR_2;



    VAR_2 = VAR_1->VAR_2;

    if (VAR_1->type == MPEGTS_SECTION)

        av_freep(&VAR_1->u.section_filter.section_buf);










    av_free(VAR_1);

    VAR_0->pids[VAR_2] = NULL;

static void FUNC_0(MpegTSContext *VAR_0, MpegTSFilter *VAR_1)
{ int VAR_2; VAR_2 = VAR_1->VAR_2; if (VAR_1->type == MPEGTS_SECTION)
av_freep(&VAR_1->u.section_filter.section_buf); av_free(VAR_1); VAR_0->pids[VAR_2] = NULL;