Revision 53c193a9

View differences:

libavcodec/h264.c
987 987
#define MB_TYPE_16x16_OR_INTRA (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)
988 988

  
989 989
    if(IS_INTERLACED(h->ref_list[1][0].mb_type[mb_xy])){ // AFL/AFR/FR/FL -> AFL/FL
990
            if(!IS_INTERLACED(*mb_type)){                //     AFR/FR    -> AFL
990
        if(!IS_INTERLACED(*mb_type)){                    //     AFR/FR    -> AFL/FL
991 991
                int cur_poc = s->current_picture_ptr->poc;
992 992
                int *col_poc = h->ref_list[1]->field_poc;
993 993
                int col_parity = FFABS(col_poc[0] - cur_poc) >= FFABS(col_poc[1] - cur_poc);

Also available in: Unified diff