changeset 7534:4891fe700813 libavcodec

The deblock filter does not need all the intra availability stuff so do not recalculate it.
author michael
date Mon, 11 Aug 2008 03:08:02 +0000
parents e61de3e409eb
children 699c33b2eabf
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Mon Aug 11 02:52:14 2008 +0000
+++ b/h264.c	Mon Aug 11 03:08:02 2008 +0000
@@ -204,7 +204,6 @@
         topright_type= h->slice_table[topright_xy] == h->slice_num ? s->current_picture.mb_type[topright_xy]: 0;
         left_type[0] = h->slice_table[left_xy[0] ] == h->slice_num ? s->current_picture.mb_type[left_xy[0]] : 0;
         left_type[1] = h->slice_table[left_xy[1] ] == h->slice_num ? s->current_picture.mb_type[left_xy[1]] : 0;
-    }
 
     if(IS_INTRA(mb_type)){
         int type_mask= h->pps.constrained_intra_pred ? IS_INTRA(-1) : -1;
@@ -285,6 +284,7 @@
             }
         }
     }
+    }
 
 
 /*