diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/soxr/001_initialize-resampler.patch | |
Diffstat (limited to 'vcpkg/ports/soxr/001_initialize-resampler.patch')
| -rw-r--r-- | vcpkg/ports/soxr/001_initialize-resampler.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/soxr/001_initialize-resampler.patch b/vcpkg/ports/soxr/001_initialize-resampler.patch new file mode 100644 index 0000000..6be5f29 --- /dev/null +++ b/vcpkg/ports/soxr/001_initialize-resampler.patch @@ -0,0 +1,13 @@ +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;
|