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/resample2.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/resample2.c')
-rw-r--r-- | libavcodec/resample2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/resample2.c b/libavcodec/resample2.c index 0a9e44ef02..adda84435d 100644 --- a/libavcodec/resample2.c +++ b/libavcodec/resample2.c @@ -135,8 +135,6 @@ AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_size, double factor= FFMIN(out_rate * cutoff / in_rate, 1.0); int phase_count= 1<<phase_shift; - memset(c, 0, sizeof(AVResampleContext)); - c->phase_shift= phase_shift; c->phase_mask= phase_count-1; c->linear= linear; |