diff options
author | Kurosu <kurosu@inforezo.org> | 2005-01-12 18:25:48 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-01-12 18:25:48 +0000 |
commit | f41c1fac3c3e5bfcc9f6d5380aa228aa85a60562 (patch) | |
tree | 0c2a59b311c98a4b56e77ab13d6a27f4195b7b22 /libavcodec/mpegvideo.c | |
parent | 83b074704b90e4373bec74102a9f3ab8a960b26d (diff) | |
download | ffmpeg-f41c1fac3c3e5bfcc9f6d5380aa228aa85a60562.tar.gz |
av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)
Originally committed as revision 3830 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index ffb7e0f854..b39d4ed5fb 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -594,7 +594,6 @@ static void MPV_encode_defaults(MpegEncContext *s){ done=1; default_mv_penalty= av_mallocz( sizeof(uint8_t)*(MAX_FCODE+1)*(2*MAX_MV+1) ); - memset(default_mv_penalty, 0, sizeof(uint8_t)*(MAX_FCODE+1)*(2*MAX_MV+1)); memset(default_fcode_tab , 0, sizeof(uint8_t)*(2*MAX_MV+1)); for(i=-16; i<16; i++){ |