aboutsummaryrefslogtreecommitdiffstats
path: root/libavresample/utils.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-05-07 09:56:33 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-07-27 11:25:48 -0400
commit2f096bb10e0584397a08b418fdfa7ecc862ebfa0 (patch)
treee132900b415acabd03821b44283c2b8a3d7c8a1f /libavresample/utils.c
parent79687079a97a039c325ab79d7a95920d800b791f (diff)
downloadffmpeg-2f096bb10e0584397a08b418fdfa7ecc862ebfa0.tar.gz
lavr: add x86-optimized mixing functions
Adds optimized functions for mixing 3 through 8 input channels to 1 and 2 output channels in fltp or s16p format with flt coeffs.
Diffstat (limited to 'libavresample/utils.c')
-rw-r--r--libavresample/utils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavresample/utils.c b/libavresample/utils.c
index 1aca566282..89a82b9dda 100644
--- a/libavresample/utils.c
+++ b/libavresample/utils.c
@@ -246,9 +246,10 @@ static int handle_buffered_output(AVAudioResampleContext *avr,
return 0;
}
-int avresample_convert(AVAudioResampleContext *avr, void **output,
- int out_plane_size, int out_samples, void **input,
- int in_plane_size, int in_samples)
+int attribute_align_arg avresample_convert(AVAudioResampleContext *avr,
+ void **output, int out_plane_size,
+ int out_samples, void **input,
+ int in_plane_size, int in_samples)
{
AudioData input_buffer;
AudioData output_buffer;