commit 71749f40a357d69c986047ded9fd44b270538c50 from: Omar Polo date: Fri Feb 18 22:02:16 2022 UTC simplify code and don't log non-fatal errors commit - ead4111872dd49b49f228bec8bf8082a820946f7 commit + 71749f40a357d69c986047ded9fd44b270538c50 blob - 35bd9909b3619ad244174ec6b87eb480e1e590a5 blob + 6bfe0240fd4e2187fe1c4b2a42918345e37e0f6a --- player_oggvorbis.c +++ player_oggvorbis.c @@ -80,9 +80,7 @@ play_oggvorbis(int fd) ¤t_section); if (ret == 0) eof = 1; - else if (ret < 0) - log_warnx("non-fatal error in the stream %ld", ret); - else { + else if (ret > 0) { /* TODO: deal with sample rate changes */ sio_write(hdl, pcmout, ret); }