minor cleanup

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1646 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-08-11 23:44:00 +00:00
parent 45e495499e
commit 14d93fce44

View file

@ -63,7 +63,6 @@ static void memchunk_stream_unlink(memchunk_stream *u) {
pa_sink_input_unref(u->sink_input); pa_sink_input_unref(u->sink_input);
u->sink_input = NULL; u->sink_input = NULL;
/* Make sure we don't decrease the ref count twice. */
memchunk_stream_unref(u); memchunk_stream_unref(u);
} }
@ -160,7 +159,6 @@ int pa_play_memchunk(
u->parent.parent.free = memchunk_stream_free; u->parent.parent.free = memchunk_stream_free;
u->parent.process_msg = memchunk_stream_process_msg; u->parent.process_msg = memchunk_stream_process_msg;
u->core = sink->core; u->core = sink->core;
u->sink_input = NULL;
u->memchunk = *chunk; u->memchunk = *chunk;
pa_memblock_ref(u->memchunk.memblock); pa_memblock_ref(u->memchunk.memblock);