summaryrefslogtreecommitdiff
path: root/libswresample/resample_template.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-06-14 19:21:44 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-06-15 01:33:17 +0200
commit7f4dfbd0809db97f6abafba7b9361278dfa2e994 (patch)
tree593b82465a0b24fb000f66ad149dd897621fb0cc /libswresample/resample_template.c
parent86a9370e2b91d67375e66a06d6eb573b5a017775 (diff)
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 <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/resample_template.c')
-rw-r--r--libswresample/resample_template.c12
1 files changed, 6 insertions, 6 deletions
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;