comparison liba52/crc.c @ 29264:e83eef58b30a

Remove all kind of trailing whitespaces from all MPlayer's files. This affects all kind of spaces (' ',^I,^M,^L,...): actually [:space:] regex character set.
author bircoph
date Wed, 13 May 2009 15:22:13 +0000
parents c3e62caf9ec6
children
comparison
equal deleted inserted replaced
29263:0f1b5b68af32 29264:e83eef58b30a
1 /* 1 /*
2 * crc.c 2 * crc.c
3 * 3 *
4 * Copyright (C) Aaron Holtzman - May 1999 4 * Copyright (C) Aaron Holtzman - May 1999
5 * 5 *
6 * This file is part of ac3dec, a free Dolby AC-3 stream decoder. 6 * This file is part of ac3dec, a free Dolby AC-3 stream decoder.
7 * 7 *
8 * ac3dec is free software; you can redistribute it and/or modify 8 * ac3dec is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2, or (at your option) 10 * the Free Software Foundation; either version 2, or (at your option)
11 * any later version. 11 * any later version.
12 * 12 *
13 * ac3dec is distributed in the hope that it will be useful, 13 * ac3dec is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details. 16 * GNU General Public License for more details.
17 * 17 *
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with GNU Make; see the file COPYING. If not, write to 19 * along with GNU Make; see the file COPYING. If not, write to
20 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 20 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 * 21 *
22 */ 22 */
23 23
24 #include <stdlib.h> 24 #include <stdlib.h>
25 #include <stdio.h> 25 #include <stdio.h>
26 #include <inttypes.h> 26 #include <inttypes.h>
27 27
28 static const uint16_t crc_lut[256] = 28 static const uint16_t crc_lut[256] =
29 { 29 {
30 0x0000,0x8005,0x800f,0x000a,0x801b,0x001e,0x0014,0x8011, 30 0x0000,0x8005,0x800f,0x000a,0x801b,0x001e,0x0014,0x8011,
31 0x8033,0x0036,0x003c,0x8039,0x0028,0x802d,0x8027,0x0022, 31 0x8033,0x0036,0x003c,0x8039,0x0028,0x802d,0x8027,0x0022,
32 0x8063,0x0066,0x006c,0x8069,0x0078,0x807d,0x8077,0x0072, 32 0x8063,0x0066,0x006c,0x8069,0x0078,0x807d,0x8077,0x0072,
33 0x0050,0x8055,0x805f,0x005a,0x804b,0x004e,0x0044,0x8041, 33 0x0050,0x8055,0x805f,0x005a,0x804b,0x004e,0x0044,0x8041,