Commit Diff
Commit:
ac02581fa50299d77f8549533342e3014e3643e5
From:
Omar Polo <op@omarpolo.com>
Date:
Sun Mar 13 16:20:56 2022 UTC
Message:
unbreak flac: add back missing counter reset spotted by sdk@, thanks!
commit - a1e58086b26b2f6f313a7f68710d7ba106678aa6
commit + ac02581fa50299d77f8549533342e3014e3643e5
blob - 2f3959fc942ba93b806bc733638a3d78771d5bf0
blob + 5fba895ad5458c528270ddc6c0f8f3cd86342359
--- player_flac.c
+++ player_flac.c
@@ -44,6 +44,7 @@ writecb(const FLAC__StreamDecoder *decoder, const FLAC
if (len+4 >= sizeof(buf)) {
if (!play(buf, len))
goto quit;
+ len = 0;
}
buf[len++] = buffer[0][i] & 0xff;
Omar Polo