diff resample2.c @ 2426:1ee03f2a6cd5 libavcodec

av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)
author michael
date Wed, 12 Jan 2005 18:25:48 +0000
parents 21c5ef8a4ff7
children d4c4b84e0fac
line wrap: on
line diff
--- a/resample2.c	Wed Jan 12 11:14:12 2005 +0000
+++ b/resample2.c	Wed Jan 12 18:25:48 2005 +0000
@@ -135,8 +135,6 @@
     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;