Revision a8f49215

View differences:

libavcodec/h264_loopfilter.c
334 334
    mb_xy = h->mb_xy;
335 335

  
336 336
    if(mb_x==0 || mb_y==mb_y_firstrow || !s->dsp.h264_loop_filter_strength || h->pps.chroma_qp_diff ||
337
        !(s->flags2 & CODEC_FLAG2_FAST) || //FIXME filter_mb_fast is broken, thus hasto be, but should not under CODEC_FLAG2_FAST
338
       (h->deblocking_filter == 2 && (h->slice_table[mb_xy] != h->slice_table[h->top_mb_xy] ||
337
       !(h->slice_type_nos == FF_I_TYPE ||
338
         (CABAC && h->slice_type_nos == FF_P_TYPE && !FIELD_PICTURE) ||
339
         (s->flags2 & CODEC_FLAG2_FAST)) ||
340
       (h->deblocking_filter == 2 && (h->slice_table[mb_xy] != h->slice_table[h->top_mb_xy] || //use slice_num
339 341
                                      h->slice_table[mb_xy] != h->slice_table[mb_xy - 1]))) {
340 342
        ff_h264_filter_mb(h, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize);
341 343
        return;

Also available in: Unified diff