[beast/devel: 9/28] BSE: FLAC: use one liner license



commit e5cf8421b683b3058068956b96f6fd2b3d71f073
Author: Tim Janik <timj gnu org>
Date:   Fri Mar 15 19:14:01 2013 +0100

    BSE: FLAC: use one liner license

 bse/bsedatahandle-flac.cc |   17 +----------------
 bse/bseloader-flac.cc     |   15 ++++++++-------
 2 files changed, 9 insertions(+), 23 deletions(-)
---
diff --git a/bse/bsedatahandle-flac.cc b/bse/bsedatahandle-flac.cc
index e25f072..d612340 100644
--- a/bse/bsedatahandle-flac.cc
+++ b/bse/bsedatahandle-flac.cc
@@ -1,19 +1,4 @@
-/* BSE - Bedevilled Sound Engine
- * Copyright (C) 2001, 2003 Tim Janik and Stefan Westerfeld
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * A copy of the GNU Lesser General Public License should ship along
- * with this library; if not, see http://www.gnu.org/copyleft/.
- */
+// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
 #include "gsldatahandle.hh"
 #include "gsldatautils.hh"
 #include "gslfilter.hh"
diff --git a/bse/bseloader-flac.cc b/bse/bseloader-flac.cc
index 688cd24..6d38fd6 100644
--- a/bse/bseloader-flac.cc
+++ b/bse/bseloader-flac.cc
@@ -1,3 +1,4 @@
+// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
 #include "bseloader.hh"
 #include <stdio.h>
 #include <errno.h>
@@ -77,11 +78,11 @@ struct FileInfo
     /* free BseWaveDsc */
     for (guint i = 0; i < wdsc.n_chunks; i++)
       g_strfreev (wdsc.chunks[i].xinfos);
-    
+
     g_strfreev (wdsc.xinfos);
     g_free (wdsc.name);
     g_free (wdsc.chunks);
-    
+
     /* free BseWaveFileInfo */
     if (wfi.waves)
       {
@@ -104,7 +105,7 @@ flac_load_file_info (gpointer      data,
       delete file_info;
       return NULL;
     }
-  
+
   return &file_info->wfi;
 }
 
@@ -139,10 +140,10 @@ flac_create_chunk_handle (gpointer      data,
                          BseErrorType *error_p)
 {
   g_return_val_if_fail (nth_chunk == 0, NULL);
-  
+
   FileInfo *file_info = reinterpret_cast<FileInfo*> (wave_dsc->file_info);
   const BseWaveChunkDsc *chunk = &wave_dsc->chunks[nth_chunk];
-  
+
   GslDataHandle *dhandle;
   dhandle = bse_data_handle_new_flac (file_info->wfi.file_name,
                                      chunk->osc_freq);
@@ -173,9 +174,9 @@ bse_init_loader_flac (void)
     flac_create_chunk_handle,
   };
   static gboolean initialized = FALSE;
-  
+
   g_assert (initialized == FALSE);
   initialized = TRUE;
-  
+
   bse_loader_register (&loader);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]