mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
rtp: Reset timestamp with correct size if not found
This fixes a compiler warning when building under Ubuntu. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
d396b76934
commit
19a7c6e49b
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ int pa_rtp_recv(pa_rtp_context *c, pa_memchunk *chunk, pa_mempool *pool, struct
|
|||
|
||||
if (!found_tstamp) {
|
||||
pa_log_warn("Couldn't find SCM_TIMESTAMP data in auxiliary recvmsg() data!");
|
||||
memset(tstamp, 0, sizeof(tstamp));
|
||||
pa_zero(*tstamp);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue