[FFmpeg-cvslog] r21309 - in trunk/libavcodec: h264.c h264_cabac.c

michael subversion
Tue Jan 19 00:55:19 CET 2010


Author: michael
Date: Tue Jan 19 00:55:19 2010
New Revision: 21309

Log:
Cosmetic, get rid of &x[0]

Modified:
   trunk/libavcodec/h264.c
   trunk/libavcodec/h264_cabac.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Tue Jan 19 00:41:12 2010	(r21308)
+++ trunk/libavcodec/h264.c	Tue Jan 19 00:55:19 2010	(r21309)
@@ -578,7 +578,7 @@ static void hl_motion(H264Context *h, ui
     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,

Modified: trunk/libavcodec/h264_cabac.c
==============================================================================
--- trunk/libavcodec/h264_cabac.c	Tue Jan 19 00:41:12 2010	(r21308)
+++ trunk/libavcodec/h264_cabac.c	Tue Jan 19 00:55:19 2010	(r21309)
@@ -740,7 +740,7 @@ static int decode_cabac_intra_mb_type(H2
             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 */
     }
 



More information about the ffmpeg-cvslog mailing list