This commit is contained in:
cbiesinger%web.de 2004-04-27 16:07:41 +00:00
Родитель 459c58c689
Коммит 4486e87157
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -42,6 +42,7 @@
#include "nscore.h"
#include "plstr.h"
#include <stdio.h>
#include <string.h>
#define INCL_DOS
#define INCL_DOSERRORS
@ -114,7 +115,7 @@ NS_IMETHODIMP nsSound::OnStreamComplete(nsIStreamLoader *aLoader,
return NS_ERROR_FAILURE;
}
if (PL_strncmp(data, "RIFF", 4) || (!gMMPMInstalled)) {
if (memcmp(data, "RIFF", 4) || (!gMMPMInstalled)) {
#ifdef DEBUG
printf("We only support WAV files currently.\n");
#endif