[FFmpeg-soc] [soc]: r5054 - amr/amr-ffmpeg.diff

cmcq subversion at mplayerhq.hu
Wed Aug 12 22:47:59 CEST 2009


Author: cmcq
Date: Wed Aug 12 22:47:59 2009
New Revision: 5054

Log:
Use explicit array parameter lengths where known

Modified:
   amr/amr-ffmpeg.diff

Modified: amr/amr-ffmpeg.diff
==============================================================================
--- amr/amr-ffmpeg.diff	Wed Aug 12 22:46:47 2009	(r5053)
+++ amr/amr-ffmpeg.diff	Wed Aug 12 22:47:59 2009	(r5054)
@@ -59,9 +59,9 @@ Index: libavcodec/acelp_filters.c
  }
 +
 +void ff_acelp_high_pass_filterf(float *buf,
-+                                const float *zero_coeffs,
-+                                const float *pole_coeffs,
-+                                float gain, float *mem, int length)
++                                const float zero_coeffs[2],
++                                const float pole_coeffs[2],
++                                float gain, float mem[2], int length)
 +{
 +    int i;
 +    float tmp;
@@ -94,8 +94,8 @@ Index: libavcodec/acelp_filters.h
 + * @param length input data size
 + */
 +void ff_acelp_high_pass_filterf(float *samples,
-+                                const float *zero_coeffs,
-+                                const float *pole_coeffs,
++                                const float zero_coeffs[2],
++                                const float pole_coeffs[2],
 +                                float gain,
 +                                float mem[2], int length);
 +


More information about the FFmpeg-soc mailing list