* Check existence of dlna_pn before reading it on Freebox..

This commit is contained in:
Justin Maggard 2011-07-07 17:50:50 +00:00
parent 6c1e49bff6
commit e7438c1e77

View File

@ -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 )