From 0bb943ba3efb4344332de25eb5ee506257557802 Mon Sep 17 00:00:00 2001 From: Rosen Penev <rosenp@gmail.com> Date: Fri, 31 Jan 2020 17:49:31 -0800 Subject: [PATCH] FfmpegDecoderPlugin: add WAV support --- NEWS | 1 + src/decoder/plugins/FfmpegDecoderPlugin.cxx | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index e2f0d4288..acf2f70b5 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ ver 0.21.20 (not yet released) * decoder + - ffmpeg: 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/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx index 3bd0ecad5..31910470f 100644 --- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx +++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx @@ -775,6 +775,7 @@ static const char *const ffmpeg_mime_types[] = { "audio/qcelp", "audio/vorbis", "audio/vorbis+ogg", + "audio/wav", "audio/x-8svx", "audio/x-16sv", "audio/x-aac",