1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Ramiro Polla 2009-05-15 15:30:43 +00:00
parent ebcf3b742b
commit 42e64bf874

View File

@ -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_t *firbuf, const int32_t *fircoeff, int
*--iirbuf = result - accum;
*sample_buffer = result;
sample_buffer += 8;
sample_buffer += MAX_CHANNELS;
}
}