fix a bad memory access
authorLennart Poettering <lennart@poettering.net>
Sat, 19 Aug 2006 23:04:04 +0000 (23:04 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 19 Aug 2006 23:04:04 +0000 (23:04 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1302 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/source-output.c

index a2fc851..352fce1 100644 (file)
@@ -301,7 +301,7 @@ pa_resample_method_t pa_source_output_get_resample_method(pa_source_output *o) {
 
 int pa_source_output_move_to(pa_source_output *o, pa_source *dest) {
     pa_source *origin;
-    pa_resampler *new_resampler;
+    pa_resampler *new_resampler = NULL;
 
     assert(o);
     assert(o->ref >= 1);