OSDN Git Service

Drop if(0) code.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Feb 2010 22:59:19 +0000 (22:59 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Feb 2010 22:59:19 +0000 (22:59 +0000)
Originally committed as revision 21825 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 10ef9d6..5189363 100644 (file)
@@ -1281,18 +1281,6 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple){
     }
     if(h->cbp || IS_INTRA(mb_type))
         s->dsp.clear_blocks(h->mb);
-
-    if(h->deblocking_filter && 0) {
-        backup_mb_border(h, dest_y, dest_cb, dest_cr, linesize, uvlinesize, simple);
-        fill_filter_caches(h, mb_type); //FIXME don't fill stuff which isn't used by filter_mb
-        h->chroma_qp[0] = get_chroma_qp(h, 0, s->current_picture.qscale_table[mb_xy]);
-        h->chroma_qp[1] = get_chroma_qp(h, 1, s->current_picture.qscale_table[mb_xy]);
-        if (!simple && FRAME_MBAFF) {
-            ff_h264_filter_mb     (h, mb_x, mb_y, dest_y, dest_cb, dest_cr, linesize, uvlinesize);
-        } else {
-            ff_h264_filter_mb_fast(h, mb_x, mb_y, dest_y, dest_cb, dest_cr, linesize, uvlinesize);
-        }
-    }
 }
 
 /**