# HG changeset patch # User lorenm # Date 1110186333 0 # Node ID 48c1b17233e829e7585c7bfb100d0349bfe69f87 # Parent 9a7770ebed1483e2c60f5d28f94ff2a7732b65e5 remove an assert that was breaking compilation on some gccs. diff -r 9a7770ebed14 -r 48c1b17233e8 h264.c --- a/h264.c Sun Mar 06 23:20:53 2005 +0000 +++ b/h264.c Mon Mar 07 09:05:33 2005 +0000 @@ -1272,7 +1272,6 @@ }else{ const int ref0 = l1ref0[0] >= 0 ? h->map_col_to_list0[0][l1ref0[0]] : h->map_col_to_list0[1][l1ref1[0]]; - assert(ref0 >= 0); const int dist_scale_factor = h->dist_scale_factor[ref0]; const int16_t *mv_col = l1mv0[0]; int mv_l0[2]; @@ -1304,7 +1303,6 @@ ref0 = h->map_col_to_list0[0][ref0]; else ref0 = h->map_col_to_list0[1][l1ref1[x8 + y8*h->b8_stride]]; - assert(ref0 >= 0); dist_scale_factor = h->dist_scale_factor[ref0]; fill_rectangle(&h->ref_cache[0][scan8[i8*4]], 2, 2, 8, ref0, 1);