commit e17a09174a2c1cfb922feab2f6bc6a03eed448cf
parent a1e13e5a5040c97550dd37c0a43f06377b5bac32
Author: sin <sin@2f30.org>
Date: Wed, 24 Dec 2014 16:05:46 +0000
Forgot return
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/mp3.c b/mp3.c
@@ -22,7 +22,7 @@ mp3init(void)
static int
mp3open(const char *path)
{
- mpg123_open(handle, path) != MPG123_OK ? -1 : 0;
+ return mpg123_open(handle, path) != MPG123_OK ? -1 : 0;
}
static size_t
@@ -80,5 +80,4 @@ Decoder mp3decoder = {
.read = mp3read,
.close = mp3close,
.exit = mp3exit
-
};