Mercurial > libavcodec.hg
changeset 9646:b8b9ff6fa077 libavcodec
mlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.
author | ramiro |
---|---|
date | Fri, 15 May 2009 15:30:43 +0000 |
parents | 3a8dfce3dc17 |
children | d0fe5dc427f0 |
files | mlpdsp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mlpdsp.c Fri May 15 07:49:59 2009 +0000 +++ b/mlpdsp.c Fri May 15 15:30:43 2009 +0000 @@ -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 @@ *--iirbuf = result - accum; *sample_buffer = result; - sample_buffer += 8; + sample_buffer += MAX_CHANNELS; } }