Bug 968212 - Add MIDI file extension to MIME type mapping. r=snorp

This commit is contained in:
Eugen Sawin 2014-02-05 16:09:08 +01:00
parent c654d33cdf
commit 7c322b5634
2 changed files with 3 additions and 1 deletions

View File

@ -79,6 +79,7 @@
#define AUDIO_MP3 "audio/mpeg"
#define AUDIO_MP4 "audio/mp4"
#define AUDIO_AMR "audio/amr"
#define AUDIO_MIDI "audio/x-midi"
#define BINARY_OCTET_STREAM "binary/octet-stream"

View File

@ -534,7 +534,8 @@ static nsExtraMimeTypeEntry extraMimeEntries [] =
{ AUDIO_MP4, "m4a", "MPEG-4 Audio" },
{ VIDEO_RAW, "yuv", "Raw YUV Video" },
{ AUDIO_WAV, "wav", "Waveform Audio" },
{ VIDEO_3GPP, "3gpp,3gp", "3GPP Video" }
{ VIDEO_3GPP, "3gpp,3gp", "3GPP Video" },
{ AUDIO_MIDI, "mid", "Standard MIDI Audio" }
};
#undef MAC_TYPE