From 73cfc9e5b8947e4d279a63da8f18253a4c066c89 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Sat, 29 Mar 2008 16:27:54 -0600 Subject: [PATCH] remove a memset --- encoder/analyse.c | 2 -- 1 file changed, 2 deletions(-) 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 )]; -- 2.47.3