static void flush_change(H264Context *h)

{

    h->outputed_poc = h->next_outputed_poc = INT_MIN;

    h->prev_interlaced_frame = 1;

    idr(h);

    h->prev_frame_num = -1;

    if (h->s.current_picture_ptr)

        h->s.current_picture_ptr->f.reference = 0;

    h->s.first_field = 0;

    memset(h->ref_list[0], 0, sizeof(h->ref_list[0]));

    memset(h->ref_list[1], 0, sizeof(h->ref_list[1]));

    memset(h->default_ref_list[0], 0, sizeof(h->default_ref_list[0]));

    memset(h->default_ref_list[1], 0, sizeof(h->default_ref_list[1]));

    ff_h264_reset_sei(h);

    h->recovery_frame= -1;

    h->sync= 0;

    h->list_count = 0;

    h->current_slice = 0;

}

static void flush_change(H264Context *h)

{

    h->outputed_poc = h->next_outputed_poc = INT_MIN;

    h->prev_interlaced_frame = 1;

    idr(h);

    h->prev_frame_num = -1;

    if (h->s.current_picture_ptr)

        h->s.current_picture_ptr->f.reference = 0;

    h->s.first_field = 0;

    memset(h->ref_list[0], 0, sizeof(h->ref_list[0]));

    memset(h->ref_list[1], 0, sizeof(h->ref_list[1]));

    memset(h->default_ref_list[0], 0, sizeof(h->default_ref_list[0]));

    memset(h->default_ref_list[1], 0, sizeof(h->default_ref_list[1]));

    ff_h264_reset_sei(h);

    h->recovery_frame= -1;

    h->sync= 0;

    h->list_count = 0;

    h->current_slice = 0;

}

    if (h->s.current_picture_ptr)
static void FUNC_0(H264Context *VAR_0)

{

    VAR_0->outputed_poc = VAR_0->next_outputed_poc = INT_MIN;

    VAR_0->prev_interlaced_frame = 1;

    idr(VAR_0);

    VAR_0->prev_frame_num = -1;

    if (VAR_0->s.current_picture_ptr)

        VAR_0->s.current_picture_ptr->f.reference = 0;

    VAR_0->s.first_field = 0;

    memset(VAR_0->ref_list[0], 0, sizeof(VAR_0->ref_list[0]));

    memset(VAR_0->ref_list[1], 0, sizeof(VAR_0->ref_list[1]));

    memset(VAR_0->default_ref_list[0], 0, sizeof(VAR_0->default_ref_list[0]));

    memset(VAR_0->default_ref_list[1], 0, sizeof(VAR_0->default_ref_list[1]));

    ff_h264_reset_sei(VAR_0);

    VAR_0->recovery_frame= -1;

    VAR_0->sync= 0;

    VAR_0->list_count = 0;

    VAR_0->current_slice = 0;

}

static void FUNC_0(H264Context *VAR_0)
{ VAR_0->outputed_poc = VAR_0->next_outputed_poc = INT_MIN; VAR_0->prev_interlaced_frame = 1; idr(VAR_0); VAR_0->prev_frame_num = -1; if (VAR_0->s.current_picture_ptr)
VAR_0->s.current_picture_ptr->f.reference = 0; VAR_0->s.first_field = 0; memset(VAR_0->ref_list[0], 0, sizeof(VAR_0->ref_list[0])); memset(VAR_0->ref_list[1], 0, sizeof(VAR_0->ref_list[1])); memset(VAR_0->default_ref_list[0], 0, sizeof(VAR_0->default_ref_list[0])); memset(VAR_0->default_ref_list[1], 0, sizeof(VAR_0->default_ref_list[1])); ff_h264_reset_sei(VAR_0); VAR_0->recovery_frame= -1; VAR_0->sync= 0; VAR_0->list_count = 0; VAR_0->current_slice = 0; }