From 366e8c9eac9bd09941291151973e6e54e06cb109 Mon Sep 17 00:00:00 2001 From: mossywell Date: Fri, 28 Mar 2014 07:26:49 +0000 Subject: 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) --- lib/libUPnP/Neptune/Source/Core/NptHttp.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libUPnP/Neptune') 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"}, -- cgit v1.2.3