sad

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

commit cf3f42e4dbf1c81603d84bc9fcf3c3c2c0f8f7bd
parent 41990e8ea879cf93a4f3f31c9b573e53bb6134cf
Author: sin <sin@2f30.org>
Date:   Fri, 26 Dec 2014 16:02:29 +0000

Keep initializing decoders

Diffstat:
Mdecoder.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/decoder.c b/decoder.c @@ -19,12 +19,12 @@ static struct { int initdecoders(void) { - int i; + int i, r = 0; for (i = 0; i < LEN(Decodermap); i++) if (Decodermap[i].decoder->init() < 0) - return -1; - return 0; + r = -1; + return r; } Decoder *