From bb8e2a346aeb0ec83156a1098021583e161d3a50 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Tue, 12 May 2009 01:25:46 +0000 Subject: [PATCH] * Add WAV mime-to-extension mapping. --- upnpsoap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/upnpsoap.c b/upnpsoap.c index deb4313..676bca4 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -224,6 +224,8 @@ mime_to_ext(const char * mime, char * buf) strcpy(buf, "wma"); else if( strcmp(mime+6, "x-flac") == 0 ) strcpy(buf, "flac"); + else if( strncmp(mime+6, "L16", 3) == 0 ) + strcpy(buf, "wav"); else strcpy(buf, "dat"); break;