player/Thread: initialize MusicChunk::bit_rate in SendSilence()

This attribute is not particularly important, but it was
uninitialized.
This commit is contained in:
Max Kellermann 2017-12-03 10:47:56 +01:00
parent 478180ebe4
commit 18f350cd04

View File

@ -558,6 +558,7 @@ Player::SendSilence()
partial frames */
unsigned num_frames = sizeof(chunk->data) / frame_size;
chunk->bit_rate = 0;
chunk->time = SignedSongTime::Negative(); /* undefined time stamp */
chunk->length = num_frames * frame_size;
PcmSilence({chunk->data, chunk->length}, play_audio_format.format);