# HG changeset patch # User michael # Date 1265505298 0 # Node ID 6e564ab180d12f1edc469504fce857e4f6807173 # Parent a270b4c6708991034c8f5c8a9e0a0e202779243a Add assert(sps.direct_8x8_inference_flag) to FIXME comment. diff -r a270b4c67089 -r 6e564ab180d1 h264_direct.c --- a/h264_direct.c Sun Feb 07 01:13:56 2010 +0000 +++ b/h264_direct.c Sun Feb 07 01:14:58 2010 +0000 @@ -352,6 +352,7 @@ if(IS_INTERLACED(*mb_type) != IS_INTERLACED(mb_type_col[0])){ /* FIXME assumes direct_8x8_inference == 1 */ int y_shift = 2*!IS_INTERLACED(*mb_type); + assert(h->sps.direct_8x8_inference_flag); for(i8=0; i8<4; i8++){ const int x8 = i8&1;