From ffa05e0802fd77043b5d1b1aef4aa6caee2b9291 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 15 May 2014 18:28:45 +0200 Subject: avcodec/opusdec: switch to swresample This also fixes linking failures in doc/examples which where apparently caused by the linking order between avcodec and avresample Signed-off-by: Michael Niedermayer --- libavcodec/opus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/opus.h') diff --git a/libavcodec/opus.h b/libavcodec/opus.h index a6eea02803..08c01184d0 100644 --- a/libavcodec/opus.h +++ b/libavcodec/opus.h @@ -29,7 +29,7 @@ #include "libavutil/float_dsp.h" #include "libavutil/frame.h" -#include "libavresample/avresample.h" +#include "libswresample/swresample.h" #include "avcodec.h" #include "get_bits.h" @@ -137,7 +137,7 @@ typedef struct OpusStreamContext { float *out_dummy; int out_dummy_allocated_size; - AVAudioResampleContext *avr; + SwrContext *swr; AVAudioFifo *celt_delay; int silk_samplerate; /* number of samples we still want to get from the resampler */ -- cgit v1.2.3