diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2021-01-05 20:10:43 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2021-01-05 20:10:43 -0500 |
commit | 44bd156f26d015bf98ace8f8a2c6ce9272a82d86 (patch) | |
tree | 1a89e3679d16486bdbd0cb8978d8f2dc91e3d8c0 /tools | |
parent | a5f75b49493c686c2a95f5b7e775fa6db1d78e90 (diff) |
Actually test out that it builds.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/aif2pcm/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aif2pcm/main.c b/tools/aif2pcm/main.c index 5acdd324c..3dad6fcf8 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) { |