aboutsummaryrefslogtreecommitdiff
path: root/lib/libUPnP/Neptune
diff options
context:
space:
mode:
authormossywell <mark@mossywell.com>2014-03-28 07:26:49 +0000
committermossywell <mark@mossywell.com>2014-03-30 18:30:40 +0100
commit366e8c9eac9bd09941291151973e6e54e06cb109 (patch)
tree52159bc4d8f9cb5c17eda4bbc145e4eecf595c9c /lib/libUPnP/Neptune
parentbfbc5b95cd9cc5bfcb2913903da86afaafbdc114 (diff)
Neptune Add audio/x-flac MIME type
Change streaming FLAC MIME type from application/octet to audio/x-flac to support Frontier Silicon systems (such as the Axis X3) that require this. (Others don't care.) FLAC not added to DefaultDlnaMap as * suffices. (Commit amend: tabs --> spaces) (Commit amend: flac --> x-flac)
Diffstat (limited to 'lib/libUPnP/Neptune')
-rw-r--r--lib/libUPnP/Neptune/Source/Core/NptHttp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
index 07586f99ca..d2e36b1c8c 100644
--- a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
+++ b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
@@ -2880,6 +2880,7 @@ NPT_HttpFileRequestHandler_DefaultFileTypeMap[] = {
{"aif", "audio/x-aiff"},
{"aifc", "audio/x-aiff"},
{"aiff", "audio/x-aiff"},
+ {"flac", "audio/x-flac"},
{"mka", "audio/x-matroska"},
{"mpa", "audio/mpeg"},
{"mp2", "audio/mpeg"},