]> granicus.if.org Git - libx264/commitdiff
remove a memset
authorFiona Glaser <fiona@x264.com>
Sat, 29 Mar 2008 22:27:54 +0000 (16:27 -0600)
committerLoren Merritt <pengvado@akuvian.org>
Sun, 30 Mar 2008 03:15:54 +0000 (21:15 -0600)
encoder/analyse.c

index 8f33c85a1ec29ca6db112d2de85bd8f29cb55054..503202767f7076fdccf1aad8a8243e8b83ef36ea 100644 (file)
@@ -202,8 +202,6 @@ static void x264_mb_analyse_load_costs( x264_t *h, x264_mb_analysis_t *a )
 
 static void x264_mb_analyse_init( x264_t *h, x264_mb_analysis_t *a, int i_qp )
 {
-    memset( a, 0, sizeof( x264_mb_analysis_t ) );
-
     /* conduct the analysis using this lamda and QP */
     a->i_qp = h->mb.i_qp = i_qp;
     h->mb.i_chroma_qp = i_chroma_qp_table[x264_clip3( i_qp + h->pps->i_chroma_qp_index_offset, 0, 51 )];