diff --git a/src/modules/ffmpeg/util/audio_resampler.cpp b/src/modules/ffmpeg/util/audio_resampler.cpp index ffd6e25d80..e5d52ddc88 100644 --- a/src/modules/ffmpeg/util/audio_resampler.cpp +++ b/src/modules/ffmpeg/util/audio_resampler.cpp @@ -30,7 +30,7 @@ caspar::array AudioResampler::convert(int frames, const void** src) { auto result = caspar::array(frames * 8 * sizeof(int32_t)); auto ptr = result.data(); - auto ret = swr_convert(ctx.get(), (uint8_t**)&ptr, frames, reinterpret_cast(src), frames); + swr_convert(ctx.get(), (uint8_t**)&ptr, frames, reinterpret_cast(src), frames); return result; }