# HG changeset patch # User michael # Date 1263858919 0 # Node ID b4e6b2d301ad3476f555f202dba9bb6f141bdf98 # Parent b847f02d5b03f73f4ab05a5c955dfef9351e5fde Cosmetic, get rid of &x[0] diff -r b847f02d5b03 -r b4e6b2d301ad h264.c --- a/h264.c Mon Jan 18 23:41:12 2010 +0000 +++ b/h264.c Mon Jan 18 23:55:19 2010 +0000 @@ -578,7 +578,7 @@ if(IS_16X16(mb_type)){ mc_part(h, 0, 1, 8, 0, dest_y, dest_cb, dest_cr, 0, 0, qpix_put[0], chroma_put[0], qpix_avg[0], chroma_avg[0], - &weight_op[0], &weight_avg[0], + weight_op, weight_avg, IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1)); }else if(IS_16X8(mb_type)){ mc_part(h, 0, 0, 4, 8, dest_y, dest_cb, dest_cr, 0, 0, diff -r b847f02d5b03 -r b4e6b2d301ad h264_cabac.c --- a/h264_cabac.c Mon Jan 18 23:41:12 2010 +0000 +++ b/h264_cabac.c Mon Jan 18 23:55:19 2010 +0000 @@ -740,7 +740,7 @@ return 0; /* I4x4 */ state += 2; }else{ - if( get_cabac_noinline( &h->cabac, &state[0] ) == 0 ) + if( get_cabac_noinline( &h->cabac, state ) == 0 ) return 0; /* I4x4 */ }