summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_float.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-09-04 14:45:48 +0200
committerAnton Khirnov <anton@khirnov.net>2016-09-22 09:47:52 +0200
commit683da86aabb4fbeddc3ead5fce737c63c0ee762c (patch)
tree40ca837d60567573ebf825e51806d5820b18c292 /libavcodec/ac3enc_float.c
parentbf58545aace7d14522ce4fa680c7b3ff62109a3a (diff)
downloadffmpeg-streaming-683da86aabb4fbeddc3ead5fce737c63c0ee762c.zip
ffmpeg-streaming-683da86aabb4fbeddc3ead5fce737c63c0ee762c.tar.gz
audiodsp: reorder arguments for vector_clipf
This will make the x86 asm simpler. ARM conversion by Martin Storsjö <martin@martin.st> and Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/ac3enc_float.c')
-rw-r--r--libavcodec/ac3enc_float.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c
index 822f431..968cb2c 100644
--- a/libavcodec/ac3enc_float.c
+++ b/libavcodec/ac3enc_float.c
@@ -111,7 +111,7 @@ static void scale_coefficients(AC3EncodeContext *s)
static void clip_coefficients(AudioDSPContext *adsp, float *coef,
unsigned int len)
{
- adsp->vector_clipf(coef, coef, COEF_MIN, COEF_MAX, len);
+ adsp->vector_clipf(coef, coef, len, COEF_MIN, COEF_MAX);
}
OpenPOWER on IntegriCloud