diff --git a/NEWS b/NEWS index acf2f70b5..357e739eb 100644 --- a/NEWS +++ b/NEWS @@ -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) diff --git a/src/decoder/plugins/AudiofileDecoderPlugin.cxx b/src/decoder/plugins/AudiofileDecoderPlugin.cxx index 8ebc68ca4..3ecfb4bba 100644 --- a/src/decoder/plugins/AudiofileDecoderPlugin.cxx +++ b/src/decoder/plugins/AudiofileDecoderPlugin.cxx @@ -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 diff --git a/src/decoder/plugins/SndfileDecoderPlugin.cxx b/src/decoder/plugins/SndfileDecoderPlugin.cxx index 08cbb88c1..de0f45112 100644 --- a/src/decoder/plugins/SndfileDecoderPlugin.cxx +++ b/src/decoder/plugins/SndfileDecoderPlugin.cxx @@ -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",