summaryrefslogtreecommitdiffstats
path: root/polyp/resampler.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/resampler.c')
-rw-r--r--polyp/resampler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/resampler.c b/polyp/resampler.c
index 4f5f6be3..320d7119 100644
--- a/polyp/resampler.c
+++ b/polyp/resampler.c
@@ -45,7 +45,7 @@ struct pa_resampler {
};
struct pa_resampler* pa_resampler_new(const struct pa_sample_spec *a, const struct pa_sample_spec *b) {
- struct pa_resampler *r;
+ struct pa_resampler *r = NULL;
int err;
assert(a && b && pa_sample_spec_valid(a) && pa_sample_spec_valid(b));