changeset 30416:b573c7c7173b

Add standard license header to C tools missing them.
author diego
date Sat, 30 Jan 2010 13:35:03 +0000
parents 3f9c8b7320a2
children 892f4b4e1d5f
files TOOLS/alaw-gen.c TOOLS/asfinfo.c TOOLS/avi-fix.c TOOLS/avisubdump.c TOOLS/bmovl-test.c TOOLS/dump_mp4.c TOOLS/fastmemcpybench.c TOOLS/movinfo.c TOOLS/subrip.c TOOLS/vivodump.c
diffstat 10 files changed, 158 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/alaw-gen.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/alaw-gen.c	Sat Jan 30 13:35:03 2010 +0000
@@ -1,3 +1,19 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 
--- a/TOOLS/asfinfo.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/asfinfo.c	Sat Jan 30 13:35:03 2010 +0000
@@ -1,3 +1,19 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 #define SAVE_STREAMS
 
 // simple ASF header display program by A'rpi/ESP-team
--- a/TOOLS/avi-fix.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/avi-fix.c	Sat Jan 30 13:35:03 2010 +0000
@@ -1,6 +1,21 @@
-// avi-fix v0.1 (C) A'rpi, license GPL
-// simple tool to fix chunk sizes in a RIFF AVI file
-// it doesn't check/fix index, use mencoder -forceidx -oac copy -ovc copy to fix index!
+/* avi-fix v0.1 (C) A'rpi
+ * simple tool to fix chunk sizes in a RIFF AVI file
+ * it doesn't check/fix index, use mencoder -forceidx -oac copy -ovc copy to fix index!
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
 #include "config.h"
 #ifdef MP_DEBUG
--- a/TOOLS/avisubdump.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/avisubdump.c	Sat Jan 30 13:35:03 2010 +0000
@@ -2,9 +2,22 @@
  * avisubdump
  *
  * avi vobsub subtitle stream dumper (c) 2004 Tobias Diedrich
- * Licensed under GNU GPLv2 or (at your option) any later version.
  *
  * The subtitles are dumped to stdout.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include <unistd.h>
--- a/TOOLS/bmovl-test.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/bmovl-test.c	Sat Jan 30 13:35:03 2010 +0000
@@ -1,4 +1,20 @@
-/* Small program to test the features of vf_bmovl */
+/* small program to test the features of vf_bmovl
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 
 #include <unistd.h>
 #include <fcntl.h>
--- a/TOOLS/dump_mp4.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/dump_mp4.c	Sat Jan 30 13:35:03 2010 +0000
@@ -1,3 +1,19 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 #include <stdio.h>
 
 int main(void){
--- a/TOOLS/fastmemcpybench.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/fastmemcpybench.c	Sat Jan 30 13:35:03 2010 +0000
@@ -5,7 +5,21 @@
  * a bug in rdtsc. For Intel processors since P6(PII) rdpmc should be used
  * instead. For PIII it's disputable and it seems the bug was fixed but this
  * was not confirmed through testing.
-*/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
 #include <stdio.h>
 #include <stdlib.h>
--- a/TOOLS/movinfo.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/movinfo.c	Sat Jan 30 13:35:03 2010 +0000
@@ -1,5 +1,20 @@
-// show QuickTime .mov file structure     (C) 2001. by A'rpi/ESP-team
-// various hacks by alex@naxine.org
+/* show QuickTime .mov file structure     (C) 2001. by A'rpi/ESP-team
+ * various hacks by alex@naxine.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
 /*
   Blocks: 4bytes atom_size
--- a/TOOLS/subrip.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/subrip.c	Sat Jan 30 13:35:03 2010 +0000
@@ -5,6 +5,19 @@
  *
  * HINT: you can view the subtitle that is being decoded with "display subtitle-*.pgm"
  *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 /* Make sure this accesses the CVS version of JOCR/GOCR */
--- a/TOOLS/vivodump.c	Sat Jan 30 13:31:00 2010 +0000
+++ b/TOOLS/vivodump.c	Sat Jan 30 13:35:03 2010 +0000
@@ -1,3 +1,19 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>