[pulseaudio-discuss] [PATCH RFCv3 13/51] pstream: Duplicate assignment, write.data is always NULL

Peter Meerwald pmeerw at pmeerw.net
Tue Nov 4 15:26:08 PST 2014


From: Peter Meerwald <p.meerwald at bct-electronic.com>

Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
 src/pulsecore/pstream.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index d9868dd..b0fda58 100644
--- a/src/pulsecore/pstream.c
+++ b/src/pulsecore/pstream.c
@@ -619,7 +619,6 @@ static void prepare_next_write_item(pa_pstream *p) {
             p->write.descriptor[PA_PSTREAM_DESCRIPTOR_LENGTH] = htonl((uint32_t) p->write.current->per_type.memblock_info.chunk.length);
             p->write.memchunk = p->write.current->per_type.memblock_info.chunk;
             pa_memblock_ref(p->write.memchunk.memblock);
-            p->write.data = NULL;
         }
 
         p->write.descriptor[PA_PSTREAM_DESCRIPTOR_FLAGS] = htonl(flags);
-- 
1.9.1



More information about the pulseaudio-discuss mailing list