Commit 5ad6e7fe authored by Max Kellermann's avatar Max Kellermann

decoder/{audio,snd}file: handle MIME type "audio/wav"

parent 0bb943ba
ver 0.21.20 (not yet released) ver 0.21.20 (not yet released)
* decoder * decoder
- ffmpeg: handle MIME type "audio/wav" - audiofile, ffmpeg, sndfile: handle MIME type "audio/wav"
- vorbis, opus: fix seeking in small files - vorbis, opus: fix seeking in small files
ver 0.21.19 (2020/01/17) ver 0.21.19 (2020/01/17)
......
...@@ -269,6 +269,8 @@ static const char *const audiofile_suffixes[] = { ...@@ -269,6 +269,8 @@ static const char *const audiofile_suffixes[] = {
}; };
static const char *const audiofile_mime_types[] = { static const char *const audiofile_mime_types[] = {
"audio/wav",
"audio/aiff",
"audio/x-wav", "audio/x-wav",
"audio/x-aiff", "audio/x-aiff",
nullptr nullptr
......
...@@ -322,6 +322,8 @@ static const char *const sndfile_suffixes[] = { ...@@ -322,6 +322,8 @@ static const char *const sndfile_suffixes[] = {
}; };
static const char *const sndfile_mime_types[] = { static const char *const sndfile_mime_types[] = {
"audio/wav",
"audio/aiff",
"audio/x-wav", "audio/x-wav",
"audio/x-aiff", "audio/x-aiff",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment