pineapple-src/externals/vcpkg/ports/soxr/001_initialize-resampler.patch
2022-07-23 03:01:36 +02:00

13 lines
399 B
Diff
Executable file

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;