vanhofen
3 years ago
2 changed files with 41 additions and 0 deletions
@ -0,0 +1,28 @@ |
|||||
|
--- a/src/mime.c
|
||||
|
+++ b/src/mime.c
|
||||
|
@@ -54,6 +54,7 @@
|
||||
|
{ "mpeg2", UPNP_VIDEO, "http-get:*:video/mpeg2:"}, |
||||
|
{ "m4v", UPNP_VIDEO, "http-get:*:video/mp4:"}, |
||||
|
{ "m4p", UPNP_VIDEO, "http-get:*:video/mp4:"}, |
||||
|
+ { "mp4", UPNP_VIDEO, "http-get:*:video/mp4:"},
|
||||
|
{ "mp4ps", UPNP_VIDEO, "http-get:*:video/x-nerodigital-ps:"}, |
||||
|
{ "ts", UPNP_VIDEO, "http-get:*:video/mpeg2:"}, |
||||
|
{ "ogm", UPNP_VIDEO, "http-get:*:video/mpeg:"}, |
||||
|
@@ -80,7 +81,6 @@
|
||||
|
{ "mp1", UPNP_AUDIO, "http-get:*:audio/mp1:"}, |
||||
|
{ "mp2", UPNP_AUDIO, "http-get:*:audio/mp2:"}, |
||||
|
{ "mp3", UPNP_AUDIO, "http-get:*:audio/mpeg:"}, |
||||
|
- { "mp4", UPNP_AUDIO, "http-get:*:audio/mp4:"},
|
||||
|
{ "m4a", UPNP_AUDIO, "http-get:*:audio/mp4:"}, |
||||
|
{ "ogg", UPNP_AUDIO, "http-get:*:audio/x-ogg:"}, |
||||
|
{ "wav", UPNP_AUDIO, "http-get:*:audio/wav:"}, |
||||
|
@@ -145,7 +145,8 @@
|
||||
|
if (!mime) |
||||
|
return NULL; |
||||
|
|
||||
|
- sprintf (protocol, mime->mime_protocol);
|
||||
|
+ //sprintf (protocol, mime->mime_protocol);
|
||||
|
+ strcpy (protocol, mime->mime_protocol);
|
||||
|
strcat (protocol, "*"); |
||||
|
return strdup (protocol); |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
--- a/configure
|
||||
|
+++ b/configure
|
||||
|
@@ -659,8 +659,8 @@ check_lib langinfo.h nl_langinfo "" && add_cflags -DHAVE_LANGINFO_CODESET
|
||||
|
################################################# |
||||
|
# check for iconv (optional) |
||||
|
################################################# |
||||
|
-echolog "Checking for iconv ..."
|
||||
|
-check_lib iconv.h iconv "" && add_cflags -DHAVE_ICONV
|
||||
|
+#echolog "Checking for iconv ..."
|
||||
|
+#check_lib iconv.h iconv "" && add_cflags -DHAVE_ICONV
|
||||
|
|
||||
|
################################################# |
||||
|
# check for libupnp and friends (mandatory) |
Loading…
Reference in new issue