From e326ffeb9cb84d69bca69351e2863ec54042dcb9 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 8 May 2009 21:47:03 +0000 Subject: Replace informal LGPL header by standard LGPL license header. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29278 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_rawdv.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/libmpdemux/demux_rawdv.c b/libmpdemux/demux_rawdv.c index 503a906fe1..69a99deca1 100644 --- a/libmpdemux/demux_rawdv.c +++ b/libmpdemux/demux_rawdv.c @@ -1,10 +1,24 @@ /* - raw dv file parser for MPlayer - by Alexander Neundorf - based on the fli demuxer - - LGPL -*/ + * raw DV file parser + * copyright (c) 2002 Alexander Neundorf + * based on the fli demuxer + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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. + * + * You should have received a copy of the GNU Lesser General Public + * License along with MPlayer; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ #include #include -- cgit v1.2.3 From 537d6886d57496198a15554148c6462cba9c491e Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 8 May 2009 21:47:50 +0000 Subject: Replace informal GPL license header by standard GPL header. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29279 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_ts.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index 33ffcdb689..3f30680181 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -5,22 +5,23 @@ * Kind feedback is appreciated; 'sucks' and alike is not. * Originally based on demux_pva.c written by Matteo Giani and FFmpeg (libavformat) sources * - * This file 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 file is part of MPlayer. * - * This file is distributed in the hope that it will be useful, + * MPlayer 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. + * + * MPlayer 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. + * 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 Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ - #include #include #include -- cgit v1.2.3 From f077569dffaf65eaeb12e8df29ed70d21e046eb5 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 8 May 2009 21:51:13 +0000 Subject: Add standard license header to all files in libmpdemux. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29280 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/asf.h | 18 +++++++++++++ libmpdemux/asfheader.c | 19 ++++++++++++- libmpdemux/aviheader.c | 17 ++++++++++++ libmpdemux/aviheader.h | 18 +++++++++++++ libmpdemux/aviprint.c | 17 ++++++++++++ libmpdemux/demux_aac.c | 18 +++++++++++++ libmpdemux/demux_asf.c | 21 ++++++++++++++- libmpdemux/demux_audio.c | 17 ++++++++++++ libmpdemux/demux_avi.c | 21 ++++++++++++++- libmpdemux/demux_demuxers.c | 17 ++++++++++++ libmpdemux/demux_film.c | 35 +++++++++++++++++------- libmpdemux/demux_fli.c | 22 ++++++++++++--- libmpdemux/demux_gif.c | 22 ++++++++++++--- libmpdemux/demux_lmlm4.c | 22 ++++++++++++--- libmpdemux/demux_mf.c | 17 ++++++++++++ libmpdemux/demux_mkv.c | 23 +++++++++++++--- libmpdemux/demux_mov.c | 59 ++++++++++++++++++++++++++++------------- libmpdemux/demux_mpc.c | 23 +++++++++++++--- libmpdemux/demux_mpg.c | 21 ++++++++++++++- libmpdemux/demux_nsv.c | 24 +++++++++++++---- libmpdemux/demux_nut.c | 18 +++++++++++++ libmpdemux/demux_ogg.c | 17 ++++++++++++ libmpdemux/demux_pva.c | 29 +++++++++++++------- libmpdemux/demux_rawaudio.c | 17 ++++++++++++ libmpdemux/demux_rawvideo.c | 17 ++++++++++++ libmpdemux/demux_real.c | 54 +++++++++++++++++++++++-------------- libmpdemux/demux_realaud.c | 22 ++++++++++++--- libmpdemux/demux_roq.c | 26 ++++++++++++++---- libmpdemux/demux_rtp.cpp | 22 +++++++++++++-- libmpdemux/demux_rtp.h | 18 +++++++++++++ libmpdemux/demux_rtp_codec.cpp | 22 +++++++++++++-- libmpdemux/demux_rtp_internal.h | 18 +++++++++++++ libmpdemux/demux_smjpeg.c | 29 ++++++++++++++------ libmpdemux/demux_viv.c | 23 ++++++++++++++-- libmpdemux/demux_vqf.c | 18 +++++++++++++ libmpdemux/demux_y4m.c | 26 +++++++++++++++--- libmpdemux/demuxer.c | 20 +++++++++++++- libmpdemux/demuxer.h | 18 +++++++++++++ libmpdemux/ebml.c | 21 ++++++++++++--- libmpdemux/ebml.h | 18 +++++++++++++ libmpdemux/extension.c | 17 ++++++++++++ libmpdemux/matroska.h | 16 +++++++++++ libmpdemux/mf.c | 17 ++++++++++++ libmpdemux/mf.h | 17 ++++++++++++ libmpdemux/mp3_hdr.c | 18 +++++++++++++ libmpdemux/mp3_hdr.h | 18 +++++++++++++ libmpdemux/mpeg_hdr.c | 21 +++++++++++++-- libmpdemux/mpeg_hdr.h | 18 +++++++++++++ libmpdemux/ms_hdr.h | 18 +++++++++++++ libmpdemux/muxer.c | 17 ++++++++++++ libmpdemux/muxer.h | 18 +++++++++++++ libmpdemux/muxer_avi.c | 18 +++++++++++++ libmpdemux/muxer_lavf.c | 18 +++++++++++++ libmpdemux/muxer_mpeg.c | 17 ++++++++++++ libmpdemux/muxer_rawaudio.c | 18 +++++++++++++ libmpdemux/muxer_rawvideo.c | 17 ++++++++++++ libmpdemux/parse_es.c | 20 +++++++++++++- libmpdemux/parse_es.h | 18 +++++++++++++ libmpdemux/qtpalette.h | 24 ++++++++++++++--- libmpdemux/stheader.h | 18 +++++++++++++ libmpdemux/video.c | 20 +++++++++++++- 61 files changed, 1168 insertions(+), 119 deletions(-) diff --git a/libmpdemux/asf.h b/libmpdemux/asf.h index 1e6210e603..b97089bc15 100644 --- a/libmpdemux/asf.h +++ b/libmpdemux/asf.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_ASF_H #define MPLAYER_ASF_H diff --git a/libmpdemux/asfheader.c b/libmpdemux/asfheader.c index 46a7f8831a..643f08c0ce 100644 --- a/libmpdemux/asfheader.c +++ b/libmpdemux/asfheader.c @@ -1,5 +1,22 @@ -// .asf fileformat docs from http://divx.euro.ru +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +// .asf fileformat docs from http://divx.euro.ru #include #include diff --git a/libmpdemux/aviheader.c b/libmpdemux/aviheader.c index 85a84e8ca3..1a6278dbb3 100644 --- a/libmpdemux/aviheader.c +++ b/libmpdemux/aviheader.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/aviheader.h b/libmpdemux/aviheader.h index 2fd81d248a..66acc8fc3d 100644 --- a/libmpdemux/aviheader.h +++ b/libmpdemux/aviheader.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_AVIHEADER_H #define MPLAYER_AVIHEADER_H diff --git a/libmpdemux/aviprint.c b/libmpdemux/aviprint.c index 35af2ffbdf..00461f6c9f 100644 --- a/libmpdemux/aviprint.c +++ b/libmpdemux/aviprint.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_aac.c b/libmpdemux/demux_aac.c index 88d9204615..ee9f1e935e 100644 --- a/libmpdemux/demux_aac.c +++ b/libmpdemux/demux_aac.c @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include #include diff --git a/libmpdemux/demux_asf.c b/libmpdemux/demux_asf.c index 8a20415530..44e05af9e8 100644 --- a/libmpdemux/demux_asf.c +++ b/libmpdemux/demux_asf.c @@ -1,4 +1,23 @@ -// ASF file parser for DEMUXER v0.3 by A'rpi/ESP-team +/* + * ASF file parser for DEMUXER v0.3 + * copyright (c) 2001 A'rpi/ESP-team + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_audio.c b/libmpdemux/demux_audio.c index 53a41c1401..7680c2596e 100644 --- a/libmpdemux/demux_audio.c +++ b/libmpdemux/demux_audio.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include "config.h" #include "mp_msg.h" diff --git a/libmpdemux/demux_avi.c b/libmpdemux/demux_avi.c index fa1fc91e48..9197c36495 100644 --- a/libmpdemux/demux_avi.c +++ b/libmpdemux/demux_avi.c @@ -1,4 +1,23 @@ -// AVI file parser for DEMUXER v2.9 by A'rpi/ESP-team +/* + * AVI file parser for DEMUXER v2.9 + * Copyright (c) 2001 A'rpi/ESP-team + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_demuxers.c b/libmpdemux/demux_demuxers.c index a5f87e601b..9b2feafc4d 100644 --- a/libmpdemux/demux_demuxers.c +++ b/libmpdemux/demux_demuxers.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include "config.h" #include "mp_msg.h" diff --git a/libmpdemux/demux_film.c b/libmpdemux/demux_film.c index c310f3bd18..81b93fb4c4 100644 --- a/libmpdemux/demux_film.c +++ b/libmpdemux/demux_film.c @@ -1,14 +1,29 @@ /* - FILM file parser for the MPlayer program - by Mike Melanson - - This demuxer handles FILM (a.k.a. CPK) files commonly found on - Sega Saturn CD-ROM games. FILM files have also been found on 3DO - games. - - Details of the FILM file format can be found at: - http://www.pcisys.net/~melanson/codecs/ -*/ + * FILM file parser + * Copyright (C) 2002 Mike Melanson + * + * This demuxer handles FILM (a.k.a. CPK) files commonly found on Sega + * Saturn CD-ROM games. FILM files have also been found on 3DO games. + * + * details of the FILM file format can be found at: + * http://www.pcisys.net/~melanson/codecs/ + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_fli.c b/libmpdemux/demux_fli.c index 37fa4d4559..bc00f4c0c2 100644 --- a/libmpdemux/demux_fli.c +++ b/libmpdemux/demux_fli.c @@ -1,7 +1,23 @@ /* - FLI file parser for the MPlayer program - by Mike Melanson -*/ + * FLI file parser + * copyright (c) 2001 Mike Melanson + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_gif.c b/libmpdemux/demux_gif.c index 99aa134d92..419055896d 100644 --- a/libmpdemux/demux_gif.c +++ b/libmpdemux/demux_gif.c @@ -1,7 +1,23 @@ /* - GIF file parser for MPlayer - by Joey Parrish -*/ + * GIF file parser + * Copyright (C) 2003 Joey Parrish + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_lmlm4.c b/libmpdemux/demux_lmlm4.c index 2ab335d452..e6437617d8 100644 --- a/libmpdemux/demux_lmlm4.c +++ b/libmpdemux/demux_lmlm4.c @@ -1,7 +1,23 @@ /* - LMLM4 MPEG4 Compression Card stream & file parser by Maxim Yevtyushkin - Based on SMJPEG file parser by Alex Beregszaszi - + * LMLM4 MPEG4 Compression Card stream & file parser + * Copyright (C) 2003 Maxim Yevtyushkin + * based on SMJPEG file parser by Alex Beregszaszi + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include diff --git a/libmpdemux/demux_mf.c b/libmpdemux/demux_mf.c index dc990c0b8f..4f6f78c942 100644 --- a/libmpdemux/demux_mf.c +++ b/libmpdemux/demux_mf.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c index 6d4429377c..c1481c72a9 100644 --- a/libmpdemux/demux_mkv.c +++ b/libmpdemux/demux_mkv.c @@ -1,9 +1,24 @@ /* - * native Matroska demuxer - * Written by Aurelien Jacobs + * Matroska demuxer + * Copyright (C) 2004 Aurelien Jacobs * Based on the one written by Ronald Bultje for gstreamer - * and on demux_mkv.cpp from Moritz Bunkus. - * Licence: GPL + * and on demux_mkv.cpp from Moritz Bunkus. + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "config.h" diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c index bcb249b732..8647355639 100644 --- a/libmpdemux/demux_mov.c +++ b/libmpdemux/demux_mov.c @@ -1,22 +1,43 @@ -// QuickTime MOV file parser by A'rpi -// additional work by Atmos -// based on TOOLS/movinfo.c by A'rpi & Al3x -// compressed header support from moov.c of the openquicktime lib. -// References: http://openquicktime.sf.net/, http://www.heroinewarrior.com/ -// http://www.geocities.com/SiliconValley/Lakes/2160/fformats/files/mov.pdf -// (above url no longer works, file mirrored somewhere? ::atmos) -// The QuickTime File Format PDF from Apple: -// http://developer.apple.com/techpubs/quicktime/qtdevdocs/PDF/QTFileFormat.pdf -// (Complete list of documentation at http://developer.apple.com/quicktime/) -// MP4-Lib sources from http://mpeg4ip.sf.net/ might be useful for .mp4 -// as well as .mov specific stuff. -// All sort of Stuff about MPEG4: -// http://www.cmlab.csie.ntu.edu.tw/~pkhsiao/thesis.html -// I really recommend N4270-1.doc and N4270-2.doc which are exact specs -// of the MP4-File Format and the MPEG4 Specific extensions. ::atmos -// TSGS#15(02)0088 -// http://www.3gpp.org/ftp/tsg_sa/TSG_SA/TSGS_15/Docs/pdf/SP-020088.pdf -// http://www.3gpp2.org/Public_html/specs/C.S0050-0_v1.0_121503.pdf +/* + * QuickTime MOV file parser + * copyright(c) 2001 A'rpi + * additional work by Atmos + * based on TOOLS/movinfo.c by A'rpi & Al3x + * compressed header support from moov.c of the openquicktime lib. + * + * references: http://openquicktime.sf.net/, http://www.heroinewarrior.com/ + * http://www.geocities.com/SiliconValley/Lakes/2160/fformats/files/mov.pdf + * (above URL no longer works, file mirrored somewhere? ::atmos) + * The QuickTime File Format PDF from Apple: + * http://developer.apple.com/techpubs/quicktime/qtdevdocs/PDF/QTFileFormat.pdf + * (Complete list of documentation at http://developer.apple.com/quicktime/) + * MP4-Lib sources from http://mpeg4ip.sf.net/ might be useful for .mp4 + * as well as .mov specific stuff. + * + * All sort of Stuff about MPEG4: + * http://www.cmlab.csie.ntu.edu.tw/~pkhsiao/thesis.html + * I really recommend N4270-1.doc and N4270-2.doc which are exact specs + * of the MP4-File Format and the MPEG4 Specific extensions. ::atmos + * TSGS#15(02)0088 + * http://www.3gpp.org/ftp/tsg_sa/TSG_SA/TSGS_15/Docs/pdf/SP-020088.pdf + * http://www.3gpp2.org/Public_html/specs/C.S0050-0_v1.0_121503.pdf + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_mpc.c b/libmpdemux/demux_mpc.c index b4e244f2de..dee3b5c8dd 100644 --- a/libmpdemux/demux_mpc.c +++ b/libmpdemux/demux_mpc.c @@ -1,8 +1,25 @@ -/** - * Demuxer for Musepack v7 bitstream - * by Reimar Doeffinger +/* + * demuxer for Musepack v7 bitstream + * copyright (c) 2005 Reimar Doeffinger + * * This code may be be relicensed under the terms of the GNU LGPL when it * becomes part of the FFmpeg project (ffmpeg.org) + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "config.h" diff --git a/libmpdemux/demux_mpg.c b/libmpdemux/demux_mpg.c index 8edb6e7a1e..5289b1d4c0 100644 --- a/libmpdemux/demux_mpg.c +++ b/libmpdemux/demux_mpg.c @@ -1,4 +1,23 @@ -// MPG/VOB file parser for DEMUXER v2.5 by A'rpi/ESP-team +/* + * MPG/VOB file parser for DEMUXER v2.5 + * copyright (c) 2001 by A'rpi/ESP-team + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_nsv.c b/libmpdemux/demux_nsv.c index eae192cd3c..9d3b1eceb0 100644 --- a/libmpdemux/demux_nsv.c +++ b/libmpdemux/demux_nsv.c @@ -1,12 +1,26 @@ - /* * Nullsoft Streaming Video demuxer - * for MPlayer - * by Reza Jelveh + * copyright (c) 2004 by Reza Jelveh + * Based on A'rpis G2 work + * * seeking and PCM audio not yet supported * PCM needs extra audio chunk "miniheader" parsing - * Based on A'rpis G2 work - * Licence: GPL + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include diff --git a/libmpdemux/demux_nut.c b/libmpdemux/demux_nut.c index 8fd46e6921..559d839653 100644 --- a/libmpdemux/demux_nut.c +++ b/libmpdemux/demux_nut.c @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c index 2561714517..d1262074d0 100644 --- a/libmpdemux/demux_ogg.c +++ b/libmpdemux/demux_ogg.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include "config.h" diff --git a/libmpdemux/demux_pva.c b/libmpdemux/demux_pva.c index 2ff8be63e3..00154e4a7b 100644 --- a/libmpdemux/demux_pva.c +++ b/libmpdemux/demux_pva.c @@ -1,20 +1,31 @@ /* - * demuxer for PVA files, such as the ones produced by software to manage DVB boards - * like the Hauppauge WinTV DVBs, for MPlayer. + * demuxer for PVA files, such as the ones produced by software to manage + * DVB boards like the Hauppauge WinTV DVBs + * copyright (c) 2002 Matteo Giani * * Uses info from the PVA file specifications found at - * * http://www.technotrend.de/download/av_format_v1.pdf - * - * WARNING: Quite a hack was required in order to get files by MultiDec played back correctly. - * If it breaks anything else, just comment out the "#define DEMUX_PVA_MULTIDEC_HACK" below - * and it will not be compiled in. * - * Feedback is appreciated. + * This file is part of MPlayer. * - * written by Matteo Giani + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +/* WARNING: Quite a hack was required in order to get files by MultiDec + * played back correctly. If it breaks anything else, just comment out + * the #define below and it will not be compiled in. */ #define DEMUX_PVA_MULTIDEC_HACK #define PVA_NEW_PREBYTES_CODE diff --git a/libmpdemux/demux_rawaudio.c b/libmpdemux/demux_rawaudio.c index 5e4ce8f84f..769f9be519 100644 --- a/libmpdemux/demux_rawaudio.c +++ b/libmpdemux/demux_rawaudio.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include "config.h" diff --git a/libmpdemux/demux_rawvideo.c b/libmpdemux/demux_rawvideo.c index 8f0e882e73..e84caafd01 100644 --- a/libmpdemux/demux_rawvideo.c +++ b/libmpdemux/demux_rawvideo.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include "config.h" diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index c0299e0fed..41c0c2b20d 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -1,24 +1,38 @@ /* - Real parser & demuxer - - (C) Alex Beregszaszi - (C) 2005, 2006 Roberto Togni - - Based on FFmpeg's libav/rm.c. - -Audio codecs: (supported by RealPlayer8 for Linux) - DNET - RealAudio 3.0, really it's AC3 in swapped-byteorder - SIPR - SiproLab's audio codec, ACELP decoder working with MPlayer, - needs fine-tuning too :) - ATRC - RealAudio 8 (ATRAC3) - www.minidisc.org/atrac3_article.pdf, - ACM decoder uploaded, needs some fine-tuning to work - -> RealAudio 8 - COOK/COKR - Real Cooker -> RealAudio G2 - -Video codecs: (supported by RealPlayer8 for Linux) - RV10 - H.263 based, working with libavcodec's decoder - RV20-RV40 - using RealPlayer's codec plugins -*/ + * Real parser & demuxer + * copyright (C) 2001 Alex Beregszaszi + * copyright (C) 2005, 2006 Roberto Togni + * based on FFmpeg's libav/rm.c + * + * audio codecs: (supported by RealPlayer8 for Linux) + * DNET - RealAudio 3.0, really it's AC3 in swapped-byteorder + * SIPR - SiproLab's audio codec, ACELP decoder working with MPlayer, + * needs fine-tuning too :) + * ATRC - RealAudio 8 (ATRAC3) - www.minidisc.org/atrac3_article.pdf, + * ACM decoder uploaded, needs some fine-tuning to work + * -> RealAudio 8 + * COOK/COKR - Real Cooker -> RealAudio G2 + * + * video codecs: (supported by RealPlayer8 for Linux) + * RV10 - H.263 based, working with libavcodec's decoder + * RV20-RV40 - using RealPlayer's codec plugins + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_realaud.c b/libmpdemux/demux_realaud.c index 57226fa2d3..ce7683cc89 100644 --- a/libmpdemux/demux_realaud.c +++ b/libmpdemux/demux_realaud.c @@ -1,7 +1,23 @@ /* - Realaudio demuxer for MPlayer - (c) 2003, 2005 Roberto Togni -*/ + * Realaudio demuxer + * copyright (c) 2003, 2005 Roberto Togni + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_roq.c b/libmpdemux/demux_roq.c index 0dfd7f544b..92123ea32b 100644 --- a/libmpdemux/demux_roq.c +++ b/libmpdemux/demux_roq.c @@ -1,9 +1,25 @@ /* - RoQ file demuxer for the MPlayer program - by Mike Melanson - based on Dr. Tim Ferguson's RoQ document found at: - http://www.csse.monash.edu.au/~timf/videocodec.html -*/ + * RoQ file demuxer + * copyright (c) 2002 Mike Melanson + * based on Dr. Tim Ferguson's RoQ document found at: + * http://www.csse.monash.edu.au/~timf/videocodec.html + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_rtp.cpp b/libmpdemux/demux_rtp.cpp index aaa525fc4c..91f11cdc27 100644 --- a/libmpdemux/demux_rtp.cpp +++ b/libmpdemux/demux_rtp.cpp @@ -1,5 +1,23 @@ -////////// Routines (with C-linkage) that interface between "MPlayer" -////////// and the "LIVE555 Streaming Media" libraries: +/* + * routines (with C-linkage) that interface between MPlayer + * and the "LIVE555 Streaming Media" libraries + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ extern "C" { // on MinGW, we must include windows.h before the things it conflicts diff --git a/libmpdemux/demux_rtp.h b/libmpdemux/demux_rtp.h index b60ec54fe1..0e2c665ae8 100644 --- a/libmpdemux/demux_rtp.h +++ b/libmpdemux/demux_rtp.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_DEMUX_RTP_H #define MPLAYER_DEMUX_RTP_H diff --git a/libmpdemux/demux_rtp_codec.cpp b/libmpdemux/demux_rtp_codec.cpp index 15d9fd0be4..35dbe3fb95 100644 --- a/libmpdemux/demux_rtp_codec.cpp +++ b/libmpdemux/demux_rtp_codec.cpp @@ -1,5 +1,23 @@ -////////// Codec-specific routines used to interface between "MPlayer" -////////// and the "LIVE555 Streaming Media" libraries: +/* + * codec-specific routines used to interface between MPlayer + * and the "LIVE555 Streaming Media" libraries + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include "demux_rtp_internal.h" extern "C" { diff --git a/libmpdemux/demux_rtp_internal.h b/libmpdemux/demux_rtp_internal.h index d504b49c7d..77f0364918 100644 --- a/libmpdemux/demux_rtp_internal.h +++ b/libmpdemux/demux_rtp_internal.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_DEMUX_RTP_INTERNAL_H #define MPLAYER_DEMUX_RTP_INTERNAL_H diff --git a/libmpdemux/demux_smjpeg.c b/libmpdemux/demux_smjpeg.c index 205ab98459..199f81e62e 100644 --- a/libmpdemux/demux_smjpeg.c +++ b/libmpdemux/demux_smjpeg.c @@ -1,12 +1,25 @@ /* - SMJPEG file parser by Alex Beregszaszi - - Only for testing some files. - Commited only for Nexus' request. - - Based on text by Arpi (SMJPEG-format.txt) and later on - http://www.lokigames.com/development/download/smjpeg/SMJPEG.txt -*/ + * SMJPEG file parser + * copyright (c) 2002 Alex Beregszaszi + * based on text by Arpi (SMJPEG-format.txt) and later on + * http://www.lokigames.com/development/download/smjpeg/SMJPEG.txt + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_viv.c b/libmpdemux/demux_viv.c index 489ccaaf19..a71b20160a 100644 --- a/libmpdemux/demux_viv.c +++ b/libmpdemux/demux_viv.c @@ -1,5 +1,24 @@ -// VIVO file parser by A'rpi -// VIVO text header parser and audio support by alex +/* + * VIVO file parser + * copyright (c) 2001 A'rpi + * VIVO text header parser and audio support by alex + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demux_vqf.c b/libmpdemux/demux_vqf.c index 3aefa02dd9..2c841fa5d7 100644 --- a/libmpdemux/demux_vqf.c +++ b/libmpdemux/demux_vqf.c @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include "config.h" #include diff --git a/libmpdemux/demux_y4m.c b/libmpdemux/demux_y4m.c index 4479a36ff3..7d2d82b98f 100644 --- a/libmpdemux/demux_y4m.c +++ b/libmpdemux/demux_y4m.c @@ -1,6 +1,26 @@ -// Y4M file parser by Rik Snel (using yuv4mpeg*.[ch] from -// mjpeg.sourceforge.net) (derived from demux_viv.c) -// older YUV4MPEG (used by xawtv) support by Alex Beregszaszi +/* + * Y4M file parser + * copyright (c) 2001 Rik Snel + * (using yuv4mpeg*.[ch] from mjpeg.sourceforge.net) + * (derived from demux_viv.c) + * older YUV4MPEG (used by xawtv) support by Alex Beregszaszi + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index e360572d7f..877e949d04 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -1,4 +1,22 @@ -//=================== DEMUXER v2.5 ========================= +/* + * DEMUXER v2.5 + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index 6a1e26dd02..f3472aa127 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_DEMUXER_H #define MPLAYER_DEMUXER_H diff --git a/libmpdemux/ebml.c b/libmpdemux/ebml.c index 756d1713ce..a007bd4ad4 100644 --- a/libmpdemux/ebml.c +++ b/libmpdemux/ebml.c @@ -1,8 +1,23 @@ /* * native ebml reader for the Matroska demuxer - * Written by Aurelien Jacobs - * Based on the one written by Ronald Bultje for gstreamer - * Licence: GPL + * copyright (c) 2004 Aurelien Jacobs + * based on the one written by Ronald Bultje for gstreamer + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "config.h" diff --git a/libmpdemux/ebml.h b/libmpdemux/ebml.h index c4d7256d91..fb44faa43c 100644 --- a/libmpdemux/ebml.h +++ b/libmpdemux/ebml.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_EBML_H #define MPLAYER_EBML_H diff --git a/libmpdemux/extension.c b/libmpdemux/extension.c index 3c0ad66cf7..dc20214b87 100644 --- a/libmpdemux/extension.c +++ b/libmpdemux/extension.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/matroska.h b/libmpdemux/matroska.h index ab0e999914..3e4a404f38 100644 --- a/libmpdemux/matroska.h +++ b/libmpdemux/matroska.h @@ -2,6 +2,22 @@ * CodecID definitions for Matroska files * * see http://cvs.corecodec.org/cgi-bin/cvsweb.cgi/~checkout~/matroska/doc/website/specs/codex.html?rev=HEAD&content-type=text/html + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef MPLAYER_MATROSKA_H diff --git a/libmpdemux/mf.c b/libmpdemux/mf.c index 4d19fdb43c..06e877845a 100644 --- a/libmpdemux/mf.c +++ b/libmpdemux/mf.c @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/mf.h b/libmpdemux/mf.h index fe104f47b3..dd461bc97c 100644 --- a/libmpdemux/mf.h +++ b/libmpdemux/mf.h @@ -1,3 +1,20 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #ifndef MPLAYER_MF_H #define MPLAYER_MF_H diff --git a/libmpdemux/mp3_hdr.c b/libmpdemux/mp3_hdr.c index cb59878466..f146ca1abd 100644 --- a/libmpdemux/mp3_hdr.c +++ b/libmpdemux/mp3_hdr.c @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #include #include "config.h" diff --git a/libmpdemux/mp3_hdr.h b/libmpdemux/mp3_hdr.h index 3e6fb7f6bd..ebd3fe9e80 100644 --- a/libmpdemux/mp3_hdr.h +++ b/libmpdemux/mp3_hdr.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_MP3_HDR_H #define MPLAYER_MP3_HDR_H diff --git a/libmpdemux/mpeg_hdr.c b/libmpdemux/mpeg_hdr.c index 3e4bbfe31b..4b586af158 100644 --- a/libmpdemux/mpeg_hdr.c +++ b/libmpdemux/mpeg_hdr.c @@ -1,5 +1,22 @@ - -// based on libmpeg2/header.c by Aaron Holtzman +/* + * based on libmpeg2/header.c by Aaron Holtzman + * + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ #include #include diff --git a/libmpdemux/mpeg_hdr.h b/libmpdemux/mpeg_hdr.h index dc2c1646d8..cb9aef1625 100644 --- a/libmpdemux/mpeg_hdr.h +++ b/libmpdemux/mpeg_hdr.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MPlayer 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 MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef MPLAYER_MPEG_HDR_H #define MPLAYER_MPEG_HDR_H diff --git a/libmpdemux/ms_hdr.h b/libmpdemux/ms_hdr.h index 89f95ecbc3..87d0bf6e58 100644 --- a/libmpdemux/ms_hdr.h +++ b/libmpdemux/ms_hdr.h @@ -1,3 +1,21 @@ +/* + * This file is part of MPlayer. + * + * MPlayer 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. + * + * MP