From 7f4dfbd0809db97f6abafba7b9361278dfa2e994 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 14 Jun 2014 19:21:44 -0300 Subject: swr: add prototypes for resample dsp functions Should fix compilation failures with MSVC and any other compiler without inline asm support. Signed-off-by: James Almer Signed-off-by: Michael Niedermayer --- libswresample/resample_template.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libswresample/resample_template.c') diff --git a/libswresample/resample_template.c b/libswresample/resample_template.c index 6773e3ecc4..a13235154c 100644 --- a/libswresample/resample_template.c +++ b/libswresample/resample_template.c @@ -119,9 +119,9 @@ static void RENAME(resample_one)(DELEM *dst, const DELEM *src, } #endif -static int RENAME(resample_common)(ResampleContext *c, - DELEM *dst, const DELEM *src, - int n, int update_ctx) +int RENAME(swri_resample_common)(ResampleContext *c, + DELEM *dst, const DELEM *src, + int n, int update_ctx) { int dst_index; int index= c->index; @@ -163,9 +163,9 @@ static int RENAME(resample_common)(ResampleContext *c, return sample_index; } -static int RENAME(resample_linear)(ResampleContext *c, - DELEM *dst, const DELEM *src, - int n, int update_ctx) +int RENAME(swri_resample_linear)(ResampleContext *c, + DELEM *dst, const DELEM *src, + int n, int update_ctx) { int dst_index; int index= c->index; -- cgit v1.2.3