diff options
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 <stdio.h> #include <stdlib.h> 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 <stdio.h> #include <stdlib.h> 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 <stdio.h> #include <stdlib.h> 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 <stdio.h> #include <stdlib.h> #include <string.h> 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 <stdio.h> #include <stdlib.h> 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 <stdio.h> #include <stdlib.h> 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 <stdio.h> #include <stdlib.h> 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 <stdio.h> #include <stdlib.h> 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 <stdio.h> #include <stdlib.h> 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 <max@linuxmedialabs.com> - Based on SMJPEG file parser by Alex Beregszaszi - + * LMLM4 MPEG4 Compression Card stream & file parser + * Copyright (C) 2003 Maxim Yevtyushkin <max@linuxmedialabs.com> + * 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 <stdio.h> 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 <stdio.h> #include <stdlib.h> 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 <aurel@gnuage.org> + * Matroska demuxer + * Copyright (C) 2004 Aurelien Jacobs <aurel@gnuage.org> * 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. < |