[FFmpeg-cvslog] r18840 - trunk/libavcodec/mlpdsp.c

ramiro subversion
Fri May 15 17:30:43 CEST 2009


Author: ramiro
Date: Fri May 15 17:30:43 2009
New Revision: 18840

Log:
mlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.

Modified:
   trunk/libavcodec/mlpdsp.c

Modified: trunk/libavcodec/mlpdsp.c
==============================================================================
--- trunk/libavcodec/mlpdsp.c	Fri May 15 09:49:59 2009	(r18839)
+++ trunk/libavcodec/mlpdsp.c	Fri May 15 17:30:43 2009	(r18840)
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavcodec/mlp.h"
 #include "dsputil.h"
 
 static void ff_mlp_filter_channel(int32_t *firbuf, const int32_t *fircoeff, int firorder,
@@ -46,7 +47,7 @@ static void ff_mlp_filter_channel(int32_
         *--iirbuf = result - accum;
 
         *sample_buffer = result;
-        sample_buffer += 8;
+        sample_buffer += MAX_CHANNELS;
     }
 }
 



More information about the ffmpeg-cvslog mailing list