diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-01-20 13:48:36 +0530 |
---|---|---|
committer | Arun Raghavan <git@arunraghavan.net> | 2015-03-06 22:26:25 +0530 |
commit | 00c5935f22ce0067a628865c58e5c55f3bf554be (patch) | |
tree | a876b59f233ab62e8123a0b093e65670bae2965e | |
parent | 3481d013589b1add90db481b4f2486256d1051ce (diff) |
FIXME: WTF BSD GLIBC BIONIC WTFb2g-1.0.29
-rw-r--r-- | aplay/aplay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/aplay/aplay.c b/aplay/aplay.c index e58e1bc..370531e 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -1681,9 +1681,9 @@ static void compute_max_peak(u_char *data, size_t count) c = 0; while (count-- > 0) { if (format_little_endian) - sval = le16toh(*valp); + sval = letoh16(*valp); else - sval = be16toh(*valp); + sval = betoh16(*valp); sval = abs(sval) ^ mask; if (max_peak[c] < sval) max_peak[c] = sval; @@ -1726,9 +1726,9 @@ static void compute_max_peak(u_char *data, size_t count) c = 0; while (count-- > 0) { if (format_little_endian) - val = le32toh(*valp); + val = letoh32(*valp); else - val = be32toh(*valp); + val = betoh32(*valp); val = abs(val) ^ mask; if (max_peak[c] < val) max_peak[c] = val; |