Merge pull request #26220 from 78andyp/blurayfixes
[xbmc.git] / lib / libUPnP / patches / 0022-platinum-Add-audio-x-flac-MIME-type-to-Neptune.patch
blob04fbbd9c1843a63c4b150a9814de8d6db6aba1a8
1 From c7dc8e23d0646200424179c16ccac2961df8da86 Mon Sep 17 00:00:00 2001
2 From: mossywell <mark@mossywell.com>
3 Date: Fri, 28 Mar 2014 07:26:49 +0000
4 Subject: [PATCH 22/24] platinum: Add audio/x-flac MIME type to Neptune
6 Change streaming FLAC MIME type from application/octet to audio/x-flac to
7 support Frontier Silicon systems (such as the Axis X3) that require
8 this. (Others don't care.)
10 FLAC not added to DefaultDlnaMap as * suffices.
12 (Commit amend: tabs --> spaces)
13 (Commit amend: flac --> x-flac)
14 ---
15 lib/libUPnP/Neptune/Source/Core/NptHttp.cpp | 1 +
16 1 file changed, 1 insertion(+)
18 diff --git a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
19 index 1700afc..8c5d587 100644
20 --- a/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
21 +++ b/lib/libUPnP/Neptune/Source/Core/NptHttp.cpp
22 @@ -2799,6 +2799,7 @@ NPT_HttpFileRequestHandler_DefaultFileTypeMap[] = {
23 {"aif", "audio/x-aiff"},
24 {"aifc", "audio/x-aiff"},
25 {"aiff", "audio/x-aiff"},
26 + {"flac", "audio/x-flac"},
27 {"mka", "audio/x-matroska"},
28 {"mpa", "audio/mpeg"},
29 {"mp2", "audio/mpeg"},
30 --
31 1.7.11.msysgit.0