* Use audio/ogg instead of application/ogg for Ogg audio files.

This commit is contained in:
Justin Maggard 2011-04-21 18:23:52 +00:00
parent 88b992bd51
commit 7365edb075

View File

@ -336,10 +336,10 @@ GetAudioMetadata(const char * path, char * name)
strcpy(type, "wav"); strcpy(type, "wav");
m.mime = strdup("audio/x-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"); strcpy(type, "ogg");
m.mime = strdup("application/ogg"); m.mime = strdup("audio/ogg");
} }
else if( ends_with(path, ".pcm") ) else if( ends_with(path, ".pcm") )
{ {