pineapple-src/externals/vcpkg/ports/soxr/001_initialize-resampler.patch

14 lines
399 B
Diff
Raw Normal View History

2022-07-22 21:01:36 -04:00
diff --git a/src/soxr.c b/src/soxr.c
index c2861ac..c95cfd4 100644
--- a/src/soxr.c
+++ b/src/soxr.c
@@ -815,7 +815,7 @@ soxr_error_t soxr_oneshot(
soxr_quality_spec_t const * q_spec,
soxr_runtime_spec_t const * runtime_spec)
{
- soxr_t resampler;
+ soxr_t resampler = NULL;
soxr_error_t error = q_spec? q_spec->e : 0;
if (!error) {
soxr_quality_spec_t q_spec1;