* Use audio/ogg instead of application/ogg for Ogg audio files.
This commit is contained in:
parent
88b992bd51
commit
7365edb075
@ -336,10 +336,10 @@ GetAudioMetadata(const char * path, char * name)
|
||||
strcpy(type, "wav");
|
||||
m.mime = strdup("audio/x-wav");
|
||||
}
|
||||
else if( ends_with(path, ".ogg") )
|
||||
else if( ends_with(path, ".ogg") || ends_with(path, ".oga") )
|
||||
{
|
||||
strcpy(type, "ogg");
|
||||
m.mime = strdup("application/ogg");
|
||||
m.mime = strdup("audio/ogg");
|
||||
}
|
||||
else if( ends_with(path, ".pcm") )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user