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

David Henningsson david.henningsson at canonical.com
Mon Nov 3 00:35:32 PST 2014


Ack

On 2014-10-28 20:46, Peter Meerwald wrote:
> 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 3a6b5f7..fd8f5d5 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);
>

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list