1
0
Fork 0
forked from len0rd/rockbox

[COV] metadata module, fix uninit warnings

Change-Id: Ifeb22642d7fb683542ff9dcfca0bc58c91ab5f38
This commit is contained in:
William Wilgus 2022-03-20 09:06:40 -04:00
parent ccdd9e6784
commit 2a88ec50cd
4 changed files with 9 additions and 9 deletions

View file

@ -41,7 +41,7 @@ static const int sample_rates[] =
static bool check_adts_syncword(int fd)
{
uint16_t syncword;
uint16_t syncword = 0;
read_uint16be(fd, &syncword);
return (syncword & 0xFFF6) == 0xFFF0;