From e7438c1e778cb2493ae5c40f840827d7eec999c5 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 7 Jul 2011 17:50:50 +0000 Subject: [PATCH] * Check existence of dlna_pn before reading it on Freebox.. --- upnpsoap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upnpsoap.c b/upnpsoap.c index 8977bf7..42df6a3 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -690,7 +690,7 @@ callback(void *args, int argc, char **argv, char **azColName) strcpy(mime+6, "avi"); } } - else if( passed_args->client == EFreeBox ) + else if( passed_args->client == EFreeBox && dlna_pn ) { if( strncmp(dlna_pn, "AVC_TS", 6) == 0 || strncmp(dlna_pn, "MPEG_TS", 7) == 0 )