[x264-devel] commit: remove a memset (Jason Garrett-Glaser )

git version control git at videolan.org
Mon Mar 31 02:52:25 CEST 2008


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sat Mar 29 16:27:54 2008 -0600| [73cfc9e5b8947e4d279a63da8f18253a4c066c89]

remove a memset

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=73cfc9e5b8947e4d279a63da8f18253a4c066c89
---

 encoder/analyse.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/encoder/analyse.c b/encoder/analyse.c
index 8f33c85..5032027 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 )];



More information about the x264-devel mailing list