Commit 42e64bf8 authored by Ramiro Polla's avatar Ramiro Polla
Browse files

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

Originally committed as revision 18840 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ebcf3b74
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libavcodec/mlp.h"
#include "dsputil.h" #include "dsputil.h"
static void ff_mlp_filter_channel(int32_t *firbuf, const int32_t *fircoeff, int firorder, 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_t *firbuf, const int32_t *fircoeff, int ...@@ -46,7 +47,7 @@ static void ff_mlp_filter_channel(int32_t *firbuf, const int32_t *fircoeff, int
*--iirbuf = result - accum; *--iirbuf = result - accum;
*sample_buffer = result; *sample_buffer = result;
sample_buffer += 8; sample_buffer += MAX_CHANNELS;
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment