Revision e8d964fa

View differences:

libavcodec/h264_direct.c
173 173
            b8_stride *= 3;
174 174
            b4_stride *= 6;
175 175

  
176
            sub_mb_type = MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P0L1|MB_TYPE_DIRECT2; /* B_SUB_8x8 */
176 177
            if(    (mb_type_col[0] & MB_TYPE_16x16_OR_INTRA)
177 178
                && (mb_type_col[1] & MB_TYPE_16x16_OR_INTRA)
178 179
                && !is_b8x8){
179
                sub_mb_type = MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P0L1|MB_TYPE_DIRECT2; /* B_SUB_8x8 */
180 180
                *mb_type   |= MB_TYPE_16x8 |MB_TYPE_L0L1|MB_TYPE_DIRECT2; /* B_16x8 */
181 181
            }else{
182
                sub_mb_type = MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P0L1|MB_TYPE_DIRECT2; /* B_SUB_8x8 */
183 182
                *mb_type   |= MB_TYPE_8x8|MB_TYPE_L0L1;
184 183
            }
185 184
        }else{                                           //     AFR/FR    -> AFR/FR

Also available in: Unified diff