changeset 4656:f5499f9c2dbe libavcodec

remove redundant memset()
author michael
date Tue, 13 Mar 2007 22:47:59 +0000
parents f0ce30e115ac
children e1939f338a0e
files mpegvideo.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Tue Mar 13 22:47:05 2007 +0000
+++ b/mpegvideo.c	Tue Mar 13 22:47:59 2007 +0000
@@ -633,8 +633,6 @@
         int i;
         done=1;
 
-        memset(default_fcode_tab , 0, sizeof(uint8_t)*(2*MAX_MV+1));
-
         for(i=-16; i<16; i++){
             default_fcode_tab[i + MAX_MV]= 1;
         }