projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebcf3b7
)
mlp: include mlp.h and use MAX_CHANNELS instead of hardcoding value 8.
author
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 15 May 2009 15:30:43 +0000
(15:30 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 15 May 2009 15:30:43 +0000
(15:30 +0000)
Originally committed as revision 18840 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mlpdsp.c
patch
|
blob
|
history
diff --git
a/libavcodec/mlpdsp.c
b/libavcodec/mlpdsp.c
index
c89bcc5
..
4b4b7b5
100644
(file)
--- a/
libavcodec/mlpdsp.c
+++ b/
libavcodec/mlpdsp.c
@@
-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
;
}
}