[SCM] libav/experimental: remove redundant memset()

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:57:48 UTC 2013


The following commit has been merged in the experimental branch:
commit 2d2020b8251c1f359cf79835523e27cc52ffa4ba
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Tue Mar 13 22:47:59 2007 +0000

    remove redundant memset()
    
    Originally committed as revision 8390 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 512bdde..462f323 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -633,8 +633,6 @@ static void MPV_encode_defaults(MpegEncContext *s){
         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;
         }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list