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

This commit is contained in:
Max Kellermann 2020-02-01 11:26:57 +01:00
parent 0bb943ba3e
commit 5ad6e7fec5
3 changed files with 5 additions and 1 deletions

2
NEWS
View File

@ -1,6 +1,6 @@
ver 0.21.20 (not yet released)
* decoder
- ffmpeg: handle MIME type "audio/wav"
- audiofile, ffmpeg, sndfile: handle MIME type "audio/wav"
- vorbis, opus: fix seeking in small files
ver 0.21.19 (2020/01/17)

View File

@ -269,6 +269,8 @@ static const char *const audiofile_suffixes[] = {
};
static const char *const audiofile_mime_types[] = {
"audio/wav",
"audio/aiff",
"audio/x-wav",
"audio/x-aiff",
nullptr

View File

@ -322,6 +322,8 @@ static const char *const sndfile_suffixes[] = {
};
static const char *const sndfile_mime_types[] = {
"audio/wav",
"audio/aiff",
"audio/x-wav",
"audio/x-aiff",