From 016e407702a7b0e308d4beb9aff8cdd4e9291806 Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Fri, 2 Feb 2018 11:52:41 +0100 Subject: codex: use SPDX identifiers. Change-Id: I02f43e660484e9c0ebce96b42dbdd7b4229a1198 Reviewed-on: https://code.wireshark.org/review/25560 Reviewed-by: Michael Mann --- codecs/G711a/G711adecode.c | 15 +-------------- codecs/G711a/G711adecode.h | 15 +-------------- codecs/G711a/G711atable.h | 15 +-------------- codecs/G711u/G711udecode.c | 15 +-------------- codecs/G711u/G711udecode.h | 15 +-------------- codecs/G711u/G711utable.h | 15 +-------------- codecs/G722/G722decode.c | 15 +-------------- codecs/G722/G722decode.h | 15 +-------------- codecs/G726/G726decode.c | 15 +-------------- codecs/G726/G726decode.h | 15 +-------------- codecs/G729/G729decode.c | 15 +-------------- codecs/G729/G729decode.h | 15 +-------------- codecs/codecs.h | 15 +-------------- codecs/sbc/sbc.c | 15 +-------------- codecs/sbc/sbc_private.h | 15 +-------------- 15 files changed, 15 insertions(+), 210 deletions(-) diff --git a/codecs/G711a/G711adecode.c b/codecs/G711a/G711adecode.c index 3ca1fb4f8b..1fd122b820 100644 --- a/codecs/G711a/G711adecode.c +++ b/codecs/G711a/G711adecode.c @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #include "config.h" diff --git a/codecs/G711a/G711adecode.h b/codecs/G711a/G711adecode.h index a1a57c2580..2d229a6d71 100644 --- a/codecs/G711a/G711adecode.h +++ b/codecs/G711a/G711adecode.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #ifndef __CODECS_G711ADECODE_H__ #define __CODECS_G711ADECODE_H__ diff --git a/codecs/G711a/G711atable.h b/codecs/G711a/G711atable.h index 17d9e0e5e6..ce74f19937 100644 --- a/codecs/G711a/G711atable.h +++ b/codecs/G711a/G711atable.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ gint16 alaw_exp_table[256] = { -5504, -5248, -6016, -5760, -4480, -4224, -4992, -4736, diff --git a/codecs/G711u/G711udecode.c b/codecs/G711u/G711udecode.c index 7c17f72ac5..4344d6399d 100644 --- a/codecs/G711u/G711udecode.c +++ b/codecs/G711u/G711udecode.c @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #include "config.h" diff --git a/codecs/G711u/G711udecode.h b/codecs/G711u/G711udecode.h index 08e086de59..988cfa83db 100644 --- a/codecs/G711u/G711udecode.h +++ b/codecs/G711u/G711udecode.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #ifndef __CODECS_G711UDECODE_H__ #define __CODECS_G711UDECODE_H__ diff --git a/codecs/G711u/G711utable.h b/codecs/G711u/G711utable.h index 0a933b6f9f..ceb9df9ca9 100644 --- a/codecs/G711u/G711utable.h +++ b/codecs/G711u/G711utable.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ gint16 ulaw_exp_table[256] = { -32124,-31100,-30076,-29052,-28028,-27004,-25980,-24956, diff --git a/codecs/G722/G722decode.c b/codecs/G722/G722decode.c index 73d36f0847..b9baa2a3ef 100644 --- a/codecs/G722/G722decode.c +++ b/codecs/G722/G722decode.c @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #include "config.h" diff --git a/codecs/G722/G722decode.h b/codecs/G722/G722decode.h index 46502632a7..c38e5f197a 100644 --- a/codecs/G722/G722decode.h +++ b/codecs/G722/G722decode.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #ifndef __CODECS_G722DECODE_H__ #define __CODECS_G722DECODE_H__ diff --git a/codecs/G726/G726decode.c b/codecs/G726/G726decode.c index b5580afd8b..3edfa09237 100644 --- a/codecs/G726/G726decode.c +++ b/codecs/G726/G726decode.c @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #include "config.h" diff --git a/codecs/G726/G726decode.h b/codecs/G726/G726decode.h index 1ac36eec7f..b9bbce346b 100644 --- a/codecs/G726/G726decode.h +++ b/codecs/G726/G726decode.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #ifndef __CODECS_G726DECODE_H__ #define __CODECS_G726DECODE_H__ diff --git a/codecs/G729/G729decode.c b/codecs/G729/G729decode.c index 1594a5f9b4..b73e783692 100644 --- a/codecs/G729/G729decode.c +++ b/codecs/G729/G729decode.c @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #include "config.h" diff --git a/codecs/G729/G729decode.h b/codecs/G729/G729decode.h index 5ccd1a9782..36110329f3 100644 --- a/codecs/G729/G729decode.h +++ b/codecs/G729/G729decode.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #ifndef __CODECS_G729DECODE_H__ #define __CODECS_G729DECODE_H__ diff --git a/codecs/codecs.h b/codecs/codecs.h index e8fe4fa12f..94dc474fb1 100644 --- a/codecs/codecs.h +++ b/codecs/codecs.h @@ -5,20 +5,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #ifndef _CODECS_H_ #define _CODECS_H_ diff --git a/codecs/sbc/sbc.c b/codecs/sbc/sbc.c index 1fa1b69508..809b0300b6 100644 --- a/codecs/sbc/sbc.c +++ b/codecs/sbc/sbc.c @@ -7,20 +7,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #include "config.h" diff --git a/codecs/sbc/sbc_private.h b/codecs/sbc/sbc_private.h index d2e4ab85a3..1a23357293 100644 --- a/codecs/sbc/sbc_private.h +++ b/codecs/sbc/sbc_private.h @@ -7,20 +7,7 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * This program 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 program 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. - */ + * SPDX-License-Identifier: GPL-2.0+*/ #ifndef __CODECS_SBC_H__ #define __CODECS_SBC_H__ -- cgit v1.2.3