changeset 10930:b4e6b2d301ad libavcodec

Cosmetic, get rid of &x[0]
author michael
date Mon, 18 Jan 2010 23:55:19 +0000
parents b847f02d5b03
children 84c0a4d9d7f5
files h264.c h264_cabac.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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 */
     }