From: Fiona Glaser Date: Sat, 29 Mar 2008 22:27:54 +0000 (-0600) Subject: remove a memset X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05e91fb1c26bb42d1c124e7812fc2be0533eae6e;p=libx264 remove a memset --- diff --git a/encoder/analyse.c b/encoder/analyse.c index 8f33c85a..50320276 100644 --- a/encoder/analyse.c +++ b/encoder/analyse.c @@ -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 )];