Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/speexenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/speexenc.c b/src/speexenc.c
index 1beec99..acca976 100644
--- a/src/speexenc.c
+++ b/src/speexenc.c
@@ -574,7 +574,7 @@ int main(int argc, char **argv)
perror("short file");
exit(1);
}
- if (strncmp(first_bytes,"RIFF",4)==0 && strncmp(first_bytes,"RIFF",4)==0)
+ if (strncmp(first_bytes,"RIFF",4)==0 || strncmp(first_bytes,"riff",4)==0)
{
if (read_wav_header(fin, &rate, &chan, &fmt, &size)==-1)
exit(1);