# HG changeset patch # User diego # Date 1157839483 0 # Node ID e2aafe2aa2dfd626a270c0f676fa5b5943dbd6de # Parent 6795c9e5f983fb5ada5fbf923fb6dcec1e2c4f7c Add proper GPL headers. diff -r 6795c9e5f983 -r e2aafe2aa2df liba52/resample.c --- a/liba52/resample.c Sat Sep 09 17:19:37 2006 +0000 +++ b/liba52/resample.c Sat Sep 09 22:04:43 2006 +0000 @@ -1,3 +1,23 @@ +/* + * copyright (C) 2001 Arpad Gereoffy + * + * This file is part of a52dec, a free ATSC A-52 stream decoder. + * See http://liba52.sourceforge.net/ for updates. + * + * a52dec 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. + * + * a52dec 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 + */ // a52_resample_init should find the requested converter (from type flags -> // given number of channels) and set up some function pointers... diff -r 6795c9e5f983 -r e2aafe2aa2df liba52/resample_c.c --- a/liba52/resample_c.c Sat Sep 09 17:19:37 2006 +0000 +++ b/liba52/resample_c.c Sat Sep 09 22:04:43 2006 +0000 @@ -1,4 +1,24 @@ -// this code is based on a52dec/libao/audio_out_oss.c +/* + * this code is based on a52dec/libao/audio_out_oss.c + * copyright (C) 2001 Arpad Gereoffy + * + * This file is part of a52dec, a free ATSC A-52 stream decoder. + * See http://liba52.sourceforge.net/ for updates. + * + * a52dec 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. + * + * a52dec 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 + */ static inline int16_t convert (int32_t i) {