Commit ba9516cc authored by Justin Ruggles's avatar Justin Ruggles Committed by Ronald S. Bultje

cosmetics: reindent after previous commit

Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 762b386e
......@@ -486,15 +486,15 @@ static int vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,
memset(data, 0, silent_size);
data += silent_size;
}
if (s->bits == 16)
vmdaudio_decode_audio(s, data, buf, data_size, s->channels == 2);
else {
/* copy the data but convert it to signed */
for (i = 0; i < data_size; i++){
*data++ = buf[i] + 0x80;
*data++ = buf[i] + 0x80;
}
if (s->bits == 16)
vmdaudio_decode_audio(s, data, buf, data_size, s->channels == 2);
else {
/* copy the data but convert it to signed */
for (i = 0; i < data_size; i++){
*data++ = buf[i] + 0x80;
*data++ = buf[i] + 0x80;
}
}
return silent_size + data_size * 2;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment