comparison liba52/resample_c.c @ 3696:e2aafe2aa2df libavcodec

Add proper GPL headers.
author diego
date Sat, 09 Sep 2006 22:04:43 +0000
parents 6a6dbba3da95
children
comparison
equal deleted inserted replaced
3695:6795c9e5f983 3696:e2aafe2aa2df
1 // this code is based on a52dec/libao/audio_out_oss.c 1 /*
2 * this code is based on a52dec/libao/audio_out_oss.c
3 * copyright (C) 2001 Arpad Gereoffy
4 *
5 * This file is part of a52dec, a free ATSC A-52 stream decoder.
6 * See http://liba52.sourceforge.net/ for updates.
7 *
8 * a52dec is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * a52dec is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
2 22
3 static inline int16_t convert (int32_t i) 23 static inline int16_t convert (int32_t i)
4 { 24 {
5 if (i > 0x43c07fff) 25 if (i > 0x43c07fff)
6 return 32767; 26 return 32767;