From 44bd156f26d015bf98ace8f8a2c6ce9272a82d86 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Tue, 5 Jan 2021 20:10:43 -0500 Subject: [PATCH] Actually test out that it builds. --- tools/aif2pcm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/aif2pcm/main.c b/tools/aif2pcm/main.c index 5acdd324c4..3dad6fcf80 100644 --- a/tools/aif2pcm/main.c +++ b/tools/aif2pcm/main.c @@ -449,7 +449,7 @@ int get_delta_index(uint8_t sample, uint8_t prev_sample) { uint8_t new_sample = prev_sample + gDeltaEncodingTable[i]; int new_sample_signed = U8_TO_S8(new_sample); - error = ABS(new_sample_signed - sample_signed); + int error = ABS(new_sample_signed - sample_signed); if (error < best_error) {