sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit 3b6386c62510a876b5f68e008438a0efb7a1b964
parent 11635dc7aac6260c2eda12d73c757502a0a8c293
Author: sin <sin@2f30.org>
Date:   Fri, 26 Dec 2014 18:20:22 +0000

Fix error path

Diffstat:
Mvorbis.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vorbis.c b/vorbis.c @@ -27,7 +27,7 @@ vorbisopen(const char *name) r = ov_fopen(name, &vf); if (r < 0) { warnx("ov_fopen: failed"); - goto err0; + return -1; } vi = ov_info(&vf, -1);