void ff_mpeg_set_erpic(ERPicture *dst, Picture *src)

{

    int i;




    if (!src)

        return;



    dst->f = &src->f;

    dst->tf = &src->tf;



    for (i = 0; i < 2; i++) {

        dst->motion_val[i] = src->motion_val[i];

        dst->ref_index[i] = src->ref_index[i];

    }



    dst->mb_type = src->mb_type;

    dst->field_picture = src->field_picture;

}
void ff_mpeg_set_erpic(ERPicture *dst, Picture *src)

{

    int i;




    if (!src)

        return;



    dst->f = &src->f;

    dst->tf = &src->tf;



    for (i = 0; i < 2; i++) {

        dst->motion_val[i] = src->motion_val[i];

        dst->ref_index[i] = src->ref_index[i];

    }



    dst->mb_type = src->mb_type;

    dst->field_picture = src->field_picture;

}
void FUNC_0(ERPicture *VAR_0, Picture *VAR_1)

{

    int VAR_2;




    if (!VAR_1)

        return;



    VAR_0->f = &VAR_1->f;

    VAR_0->tf = &VAR_1->tf;



    for (VAR_2 = 0; VAR_2 < 2; VAR_2++) {

        VAR_0->motion_val[VAR_2] = VAR_1->motion_val[VAR_2];

        VAR_0->ref_index[VAR_2] = VAR_1->ref_index[VAR_2];

    }



    VAR_0->mb_type = VAR_1->mb_type;

    VAR_0->field_picture = VAR_1->field_picture;

}
void FUNC_0(ERPicture *VAR_0, Picture *VAR_1)
{ int VAR_2; if (!VAR_1)
return; VAR_0->f = &VAR_1->f; VAR_0->tf = &VAR_1->tf; for (VAR_2 = 0; VAR_2 < 2; VAR_2++) { VAR_0->motion_val[VAR_2] = VAR_1->motion_val[VAR_2]; VAR_0->ref_index[VAR_2] = VAR_1->ref_index[VAR_2]; } VAR_0->mb_type = VAR_1->mb_type; VAR_0->field_picture = VAR_1->field_picture; }