From 4d00860ac79780cd6f8154f14666ddc437f0499c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 27 Feb 2015 19:20:43 +0100 Subject: swresample: Add prefix to soxr_resampler also move declaration to header Signed-off-by: Michael Niedermayer --- libswresample/swresample.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libswresample/swresample.c') diff --git a/libswresample/swresample.c b/libswresample/swresample.c index eb6effa8ef..9baccd2b6e 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -176,8 +176,7 @@ av_cold int swr_init(struct SwrContext *s){ switch(s->engine){ #if CONFIG_LIBSOXR - extern struct Resampler const soxr_resampler; - case SWR_ENGINE_SOXR: s->resampler = &soxr_resampler; break; + case SWR_ENGINE_SOXR: s->resampler = &swri_soxr_resampler; break; #endif case SWR_ENGINE_SWR : s->resampler = &swri_resampler; break; default: -- cgit v1.2.1