[SCM] libav/experimental: Cosmetic, get rid of &x[0]

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:58:03 UTC 2013


The following commit has been merged in the experimental branch:
commit 7231ccf4d53cea4854d4168640d6b3809d3a7771
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Jan 18 23:55:19 2010 +0000

    Cosmetic, get rid of &x[0]
    
    Originally committed as revision 21309 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index a469306..0c74a78 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -578,7 +578,7 @@ static void hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t
     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 --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index 1375e9e..9eceedb 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -740,7 +740,7 @@ static int decode_cabac_intra_mb_type(H264Context *h, int ctx_base, int intra_sl
             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 */
     }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list