ref: 9bdc9d9964452fb28b84ef8ceda7f53979f32bb8
parent: bb50299275b6b2a17f9108a0d4b270a439819bfc
author: robs <robs>
date: Sat Apr 21 15:23:24 EDT 2007
auto support for RIFX
--- a/src/auto.c
+++ b/src/auto.c
@@ -57,14 +57,14 @@
type = "aiff";
else if (strncmp(header + 4, "AIFC", 4) == 0)
type = "aiff";
- else if (strncmp(header + 4, "8SVX", 4) == 0)
+ else if (strncmp(header + 4, "8SVX", 4) == 0)
type = "8svx";
else if (strncmp(header + 4, "MAUD", 4) == 0)
type = "maud";
}
}
- else if (strncmp(header, "RIFF", 4) == 0)
- {
+ else if (strncmp(header, "RIFF", 4) == 0 ||
+ strncmp(header, "RIFX", 4) == 0) {
if (sox_readbuf(ft, header, 8) == 8)
if (strncmp(header + 4, "WAVE", 4) == 0)
type = "wav";