Commit 57936a13 authored by Max Kellermann's avatar Max Kellermann

output/raop: use memset() instead of bzero()

There's no bzero() on WIN32.
parent 9242fde6
......@@ -90,7 +90,7 @@ new_raop_data(void)
AES_set_encrypt_key(raop_session->encrypt.key, 128, &raop_session->encrypt.ctx);
raop_session->data_fd = -1;
bzero(raop_session->buffer, RAOP_BUFFER_SIZE);
memset(raop_session->buffer, 0, RAOP_BUFFER_SIZE);
raop_session->bufferSize = 0;
raop_session->data_mutex = g_mutex_new();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment