Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e2d2baec
Commit
e2d2baec
authored
Mar 04, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to 0.15.1 of libmad and libid3tag
git-svn-id:
https://svn.musicpd.org/mpd/trunk@196
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
7be523c0
Hide whitespace changes
Inline
Side-by-side
Showing
88 changed files
with
540 additions
and
234 deletions
+540
-234
configure.ac
configure.ac
+1
-1
CHANGES
src/libid3tag/CHANGES
+10
-2
COPYRIGHT
src/libid3tag/COPYRIGHT
+1
-1
CREDITS
src/libid3tag/CREDITS
+2
-2
Makefile.am
src/libid3tag/Makefile.am
+4
-4
README
src/libid3tag/README
+2
-2
TODO
src/libid3tag/TODO
+2
-2
VERSION
src/libid3tag/VERSION
+3
-3
compat.gperf
src/libid3tag/compat.gperf
+2
-2
compat.h
src/libid3tag/compat.h
+2
-2
config.h.in
src/libid3tag/config.h.in
+2
-4
configure.ac
src/libid3tag/configure.ac
+3
-3
crc.c
src/libid3tag/crc.c
+5
-5
crc.h
src/libid3tag/crc.h
+3
-3
debug.c
src/libid3tag/debug.c
+2
-2
debug.h
src/libid3tag/debug.h
+3
-4
field.c
src/libid3tag/field.c
+17
-2
field.h
src/libid3tag/field.h
+2
-2
file.c
src/libid3tag/file.c
+6
-5
file.h
src/libid3tag/file.h
+2
-2
frame.c
src/libid3tag/frame.c
+2
-2
frame.h
src/libid3tag/frame.h
+2
-2
frametype.gperf
src/libid3tag/frametype.gperf
+2
-2
frametype.h
src/libid3tag/frametype.h
+2
-2
genre.c
src/libid3tag/genre.c
+2
-2
genre.dat.in
src/libid3tag/genre.dat.in
+2
-2
genre.dat.sed
src/libid3tag/genre.dat.sed
+2
-2
genre.h
src/libid3tag/genre.h
+2
-2
global.h
src/libid3tag/global.h
+2
-2
id3tag.h
src/libid3tag/id3tag.h
+5
-4
latin1.c
src/libid3tag/latin1.c
+2
-2
latin1.h
src/libid3tag/latin1.h
+2
-2
parse.c
src/libid3tag/parse.c
+2
-2
parse.h
src/libid3tag/parse.h
+2
-2
render.c
src/libid3tag/render.c
+2
-2
render.h
src/libid3tag/render.h
+2
-2
tag.c
src/libid3tag/tag.c
+5
-5
tag.h
src/libid3tag/tag.h
+2
-2
ucs4.c
src/libid3tag/ucs4.c
+2
-2
ucs4.h
src/libid3tag/ucs4.h
+2
-2
utf16.c
src/libid3tag/utf16.c
+2
-2
utf16.h
src/libid3tag/utf16.h
+2
-2
utf8.c
src/libid3tag/utf8.c
+2
-2
utf8.h
src/libid3tag/utf8.h
+2
-2
util.c
src/libid3tag/util.c
+2
-2
util.h
src/libid3tag/util.h
+2
-2
version.c
src/libid3tag/version.c
+2
-2
version.h
src/libid3tag/version.h
+2
-2
CHANGES
src/libmad/CHANGES
+23
-6
COPYRIGHT
src/libmad/COPYRIGHT
+1
-1
CREDITS
src/libmad/CREDITS
+18
-2
D.dat
src/libmad/D.dat
+2
-2
Makefile.am
src/libmad/Makefile.am
+3
-3
README
src/libmad/README
+2
-2
TODO
src/libmad/TODO
+2
-3
VERSION
src/libmad/VERSION
+4
-4
bit.c
src/libmad/bit.c
+2
-2
bit.h
src/libmad/bit.h
+2
-2
config.h.in
src/libmad/config.h.in
+6
-4
configure.ac
src/libmad/configure.ac
+4
-3
decoder.c
src/libmad/decoder.c
+2
-2
decoder.h
src/libmad/decoder.h
+2
-2
fixed.c
src/libmad/fixed.c
+2
-2
fixed.h
src/libmad/fixed.h
+18
-3
frame.c
src/libmad/frame.c
+4
-3
frame.h
src/libmad/frame.h
+2
-2
global.h
src/libmad/global.h
+2
-2
huffman.c
src/libmad/huffman.c
+22
-11
huffman.h
src/libmad/huffman.h
+2
-2
imdct_l_arm.S
src/libmad/imdct_l_arm.S
+1
-1
imdct_s.dat
src/libmad/imdct_s.dat
+2
-2
layer12.c
src/libmad/layer12.c
+37
-13
layer12.h
src/libmad/layer12.h
+2
-2
layer3.c
src/libmad/layer3.c
+200
-4
layer3.h
src/libmad/layer3.h
+2
-2
mad.h.sed
src/libmad/mad.h.sed
+2
-2
minimad.c
src/libmad/minimad.c
+7
-7
qc_table.dat
src/libmad/qc_table.dat
+2
-2
rq_table.dat
src/libmad/rq_table.dat
+2
-2
sf_table.dat
src/libmad/sf_table.dat
+2
-2
stream.c
src/libmad/stream.c
+3
-2
stream.h
src/libmad/stream.h
+3
-2
synth.c
src/libmad/synth.c
+2
-2
synth.h
src/libmad/synth.h
+2
-2
timer.c
src/libmad/timer.c
+2
-2
timer.h
src/libmad/timer.h
+2
-2
version.c
src/libmad/version.c
+2
-2
version.h
src/libmad/version.h
+4
-4
No files found.
configure.ac
View file @
e2d2baec
...
...
@@ -2,7 +2,7 @@ dnl AC_INIT(src/main.c)
dnl AM_INIT_AUTOMAKE(mpd, 0.10.0)
AC_PREREQ(2.52)
AC_INIT(mpd, 0.10.
0
, shank@mercury.chem.pitt.edu)
AC_INIT(mpd, 0.10.
1
, shank@mercury.chem.pitt.edu)
AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
AC_PROG_CC
...
...
src/libid3tag/CHANGES
View file @
e2d2baec
libid3tag - ID3 tag manipulation library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: CHANGES,v 1.1
2003/08/14 03:57:13 shank
Exp $
$Id: CHANGES,v 1.1
1 2004/02/17 02:04:10 rob
Exp $
===============================================================================
Version 0.15.1 (beta)
* Updated to autoconf 2.59, automake 1.8.2, libtool 1.5.2.
* Fixed a potential problem in file.c when writing empty ID3v2 tags.
* Added new id3_field_gettextencoding() API routine.
Version 0.15.0 (beta)
* Updated to autoconf 2.57, automake 1.7.5, libtool 1.4.3.
...
...
src/libid3tag/COPYRIGHT
View file @
e2d2baec
libid3tag - ID3 tag manipulation library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
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
...
...
src/libid3tag/CREDITS
View file @
e2d2baec
libid3tag - ID3 tag manipulation library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: CREDITS,v 1.
1 2003/08/14 03:57:13 shank
Exp $
$Id: CREDITS,v 1.
2 2004/01/23 09:41:32 rob
Exp $
===============================================================================
...
...
src/libid3tag/Makefile.am
View file @
e2d2baec
##
## libid3tag - ID3 tag manipulation library
## Copyright (C) 2000-200
3
Underbit Technologies, Inc.
## Copyright (C) 2000-200
4
Underbit Technologies, Inc.
##
## 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
...
...
@@ -16,7 +16,7 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##
## $Id: Makefile.am,v 1.
1 2003/08/14 03:57:13 shank
Exp $
## $Id: Makefile.am,v 1.
26 2004/02/17 02:11:28 rob
Exp $
##
## Process this file with automake to produce Makefile.in
...
...
@@ -63,9 +63,9 @@ noinst_HEADERS = id3tag.h
## 6. If any interfaces have been removed since the last public release,
## then set AGE to 0.
version_current
=
2
version_current
=
3
version_revision
=
0
version_age
=
2
version_age
=
3
version_info
=
$(version_current)
:
$(version_revision)
:
$(version_age)
...
...
src/libid3tag/README
View file @
e2d2baec
libid3tag - ID3 tag manipulation library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: README,v 1.
1 2003/08/14 03:57:13 shank
Exp $
$Id: README,v 1.
5 2004/01/23 09:41:32 rob
Exp $
===============================================================================
...
...
src/libid3tag/TODO
View file @
e2d2baec
libid3tag - ID3 tag manipulation library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: TODO,v 1.
1 2003/08/14 03:57:13 shank
Exp $
$Id: TODO,v 1.
2 2004/01/23 09:41:32 rob
Exp $
===============================================================================
...
...
src/libid3tag/VERSION
View file @
e2d2baec
0.15.
0
b
0.15.
1
b
configure.ac:24
id3tag.h:33
4-337
msvc++/config.h:5
7
id3tag.h:33
8-341
msvc++/config.h:5
9,65,71
Makefile.am:63-65
src/libid3tag/compat.gperf
View file @
e2d2baec
%{
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: compat.gperf,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: compat.gperf,v 1.1
1 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/compat.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: compat.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: compat.h,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_COMPAT_H
...
...
src/libid3tag/config.h.in
View file @
e2d2baec
...
...
@@ -72,8 +72,6 @@
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#undef inline
#endif
src/libid3tag/configure.ac
View file @
e2d2baec
dnl -*- m4 -*-
dnl
dnl libid3tag - ID3 tag manipulation library
dnl Copyright (C) 2000-200
3
Underbit Technologies, Inc.
dnl Copyright (C) 2000-200
4
Underbit Technologies, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
...
...
@@ -17,11 +17,11 @@ dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl
AC_REVISION([$Id: configure.ac,v 1.1
2003/08/14 03:57:13 shank
Exp $])dnl
AC_REVISION([$Id: configure.ac,v 1.1
2 2004/01/23 23:22:46 rob
Exp $])dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT([ID3 Tag], [0.15.
0
b], [support@underbit.com], [libid3tag])
AC_INIT([ID3 Tag], [0.15.
1
b], [support@underbit.com], [libid3tag])
AC_PREREQ(2.53)
AC_CONFIG_SRCDIR([id3tag.h])
...
...
src/libid3tag/crc.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: crc.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: crc.c,v 1.1
1 2004/02/17 02:04:10 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -104,10 +104,10 @@ unsigned long const crc_table[256] = {
};
/*
* NAME: crc->c
alcula
te()
* DESCRIPTION: c
ompu
te CRC-32 value (ISO 3309)
* NAME: crc->c
ompu
te()
* DESCRIPTION: c
alcula
te CRC-32 value (ISO 3309)
*/
unsigned
long
id3_crc_c
alcula
te
(
id3_byte_t
const
*
data
,
id3_length_t
length
)
unsigned
long
id3_crc_c
ompu
te
(
id3_byte_t
const
*
data
,
id3_length_t
length
)
{
register
unsigned
long
crc
;
...
...
src/libid3tag/crc.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: crc.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: crc.h,v 1.
8 2004/02/17 02:04:10 rob
Exp $
*/
# ifndef LIBID3TAG_CRC_H
...
...
@@ -24,6 +24,6 @@
# include "id3tag.h"
unsigned
long
id3_crc_c
alcula
te
(
id3_byte_t
const
*
,
id3_length_t
);
unsigned
long
id3_crc_c
ompu
te
(
id3_byte_t
const
*
,
id3_length_t
);
# endif
src/libid3tag/debug.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: debug.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: debug.c,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/debug.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: debug.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: debug.h,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_DEBUG_H
...
...
@@ -25,8 +25,7 @@
# include <stdlib.h>
void
*
id3_debug_malloc
(
size_t
,
char
const
*
,
unsigned
int
);
void
*
id3_debug_calloc
(
size_t
,
size_t
,
char
const
*
file
,
unsigned
int
line
);
void
*
id3_debug_calloc
(
size_t
,
size_t
,
char
const
*
,
unsigned
int
);
void
*
id3_debug_realloc
(
void
*
,
size_t
,
char
const
*
,
unsigned
int
);
void
id3_debug_free
(
void
*
,
char
const
*
,
unsigned
int
);
...
...
src/libid3tag/field.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: field.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: field.c,v 1.1
6 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -750,6 +750,21 @@ signed long id3_field_getint(union id3_field const *field)
}
/*
* NAME: field->gettextencoding()
* DESCRIPTION: return the value of a text encoding field
*/
enum
id3_field_textencoding
id3_field_gettextencoding
(
union
id3_field
const
*
field
)
{
assert
(
field
);
if
(
field
->
type
!=
ID3_FIELD_TYPE_TEXTENCODING
)
return
-
1
;
return
field
->
number
.
value
;
}
/*
* NAME: field->getlatin1()
* DESCRIPTION: return the value of a latin1 field
*/
...
...
src/libid3tag/field.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: field.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: field.h,v 1.
9 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_FIELD_H
...
...
src/libid3tag/file.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: file.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: file.c,v 1.
21 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -522,7 +522,7 @@ int v1_write(struct id3_file *file,
if
(
fseek
(
file
->
iofile
,
(
file
->
flags
&
ID3_FILE_FLAG_ID3V1
)
?
-
128
:
0
,
SEEK_END
)
==
-
1
||
(
location
=
ftell
(
file
->
iofile
))
==
-
1
||
fwrite
(
data
,
128
,
1
,
file
->
iofile
)
==
0
||
fwrite
(
data
,
128
,
1
,
file
->
iofile
)
!=
1
||
fflush
(
file
->
iofile
)
==
EOF
)
return
-
1
;
...
...
@@ -577,13 +577,14 @@ int v2_write(struct id3_file *file,
{
assert
(
!
data
||
length
>
0
);
if
(((
file
->
ntags
==
1
&&
!
(
file
->
flags
&
ID3_FILE_FLAG_ID3V1
))
||
if
(
data
&&
((
file
->
ntags
==
1
&&
!
(
file
->
flags
&
ID3_FILE_FLAG_ID3V1
))
||
(
file
->
ntags
==
2
&&
(
file
->
flags
&
ID3_FILE_FLAG_ID3V1
)))
&&
file
->
tags
[
0
].
length
==
length
)
{
/* easy special case: rewrite existing tag in-place */
if
(
fseek
(
file
->
iofile
,
file
->
tags
[
0
].
location
,
SEEK_SET
)
==
-
1
||
fwrite
(
data
,
length
,
1
,
file
->
iofile
)
==
0
||
fwrite
(
data
,
length
,
1
,
file
->
iofile
)
!=
1
||
fflush
(
file
->
iofile
)
==
EOF
)
return
-
1
;
...
...
src/libid3tag/file.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: file.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: file.h,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_FILE_H
...
...
src/libid3tag/frame.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: frame.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: frame.c,v 1.1
5 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/frame.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: frame.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: frame.h,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_FRAME_H
...
...
src/libid3tag/frametype.gperf
View file @
e2d2baec
%{
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: frametype.gperf,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: frametype.gperf,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/frametype.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: frametype.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: frametype.h,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_FRAMETYPE_H
...
...
src/libid3tag/genre.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: genre.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: genre.c,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/genre.dat.in
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: genre.dat.in,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: genre.dat.in,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
/*
...
...
src/libid3tag/genre.dat.sed
View file @
e2d2baec
#
# libid3tag - ID3 tag manipulation library
# Copyright (C) 2000-200
3
Underbit Technologies, Inc.
# Copyright (C) 2000-200
4
Underbit Technologies, Inc.
#
# 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
...
...
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: genre.dat.sed,v 1.1
2003/08/14 03:57:13 shank
Exp $
# $Id: genre.dat.sed,v 1.1
0 2004/01/23 09:41:32 rob
Exp $
#
1
i
\
...
...
src/libid3tag/genre.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: genre.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: genre.h,v 1.
6 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_GENRE_H
...
...
src/libid3tag/global.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: global.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: global.h,v 1.
9 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_GLOBAL_H
...
...
src/libid3tag/id3tag.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -19,7 +19,7 @@
* If you would like to negotiate alternate licensing terms, you may do
* so by contacting: Underbit Technologies, Inc. <info@underbit.com>
*
* $Id: id3tag.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: id3tag.h,v 1.1
7 2004/01/23 23:22:46 rob
Exp $
*/
# ifndef LIBID3TAG_ID3TAG_H
...
...
@@ -300,6 +300,7 @@ int id3_field_setbinarydata(union id3_field *,
id3_byte_t
const
*
,
id3_length_t
);
signed
long
id3_field_getint
(
union
id3_field
const
*
);
enum
id3_field_textencoding
id3_field_gettextencoding
(
union
id3_field
const
*
);
id3_latin1_t
const
*
id3_field_getlatin1
(
union
id3_field
const
*
);
id3_latin1_t
const
*
id3_field_getfulllatin1
(
union
id3_field
const
*
);
id3_ucs4_t
const
*
id3_field_getstring
(
union
id3_field
const
*
);
...
...
@@ -336,7 +337,7 @@ id3_ucs4_t *id3_utf8_ucs4duplicate(id3_utf8_t const *);
# define ID3_VERSION_MAJOR 0
# define ID3_VERSION_MINOR 15
# define ID3_VERSION_PATCH
0
# define ID3_VERSION_PATCH
1
# define ID3_VERSION_EXTRA " (beta)"
# define ID3_VERSION_STRINGIZE(str) #str
...
...
@@ -347,7 +348,7 @@ id3_ucs4_t *id3_utf8_ucs4duplicate(id3_utf8_t const *);
ID3_VERSION_STRING(ID3_VERSION_PATCH) \
ID3_VERSION_EXTRA
# define ID3_PUBLISHYEAR "2000-200
3
"
# define ID3_PUBLISHYEAR "2000-200
4
"
# define ID3_AUTHOR "Underbit Technologies, Inc."
# define ID3_EMAIL "info@underbit.com"
...
...
src/libid3tag/latin1.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: latin1.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: latin1.c,v 1.1
0 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/latin1.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: latin1.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: latin1.h,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_LATIN1_H
...
...
src/libid3tag/parse.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: parse.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: parse.c,v 1.
9 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/parse.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: parse.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: parse.h,v 1.
6 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_PARSE_H
...
...
src/libid3tag/render.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: render.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: render.c,v 1.1
1 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/render.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: render.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: render.h,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_RENDER_H
...
...
src/libid3tag/tag.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: tag.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: tag.c,v 1.
20 2004/02/17 02:04:10 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -506,7 +506,7 @@ struct id3_tag *v2_parse(id3_byte_t const *ptr)
crc
=
id3_parse_uint
(
&
ehptr
,
4
);
if
(
crc
!=
id3_crc_c
alcula
te
(
ptr
,
end
-
ptr
))
if
(
crc
!=
id3_crc_c
ompu
te
(
ptr
,
end
-
ptr
))
goto
fail
;
tag
->
extendedflags
|=
ID3_TAG_EXTENDEDFLAG_CRCDATAPRESENT
;
...
...
@@ -579,7 +579,7 @@ struct id3_tag *v2_parse(id3_byte_t const *ptr)
crc
=
id3_parse_syncsafe
(
&
ehptr
,
5
);
ehptr
+=
bytes
-
5
;
if
(
crc
!=
id3_crc_c
alcula
te
(
ptr
,
end
-
ptr
))
if
(
crc
!=
id3_crc_c
ompu
te
(
ptr
,
end
-
ptr
))
goto
fail
;
}
...
...
@@ -895,7 +895,7 @@ id3_length_t id3_tag_render(struct id3_tag const *tag, id3_byte_t *buffer)
if
(
crc_ptr
)
{
id3_render_syncsafe
(
&
crc_ptr
,
id3_crc_c
alcula
te
(
frames_ptr
,
*
ptr
-
frames_ptr
),
5
);
id3_crc_c
ompu
te
(
frames_ptr
,
*
ptr
-
frames_ptr
),
5
);
}
/* footer */
...
...
src/libid3tag/tag.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: tag.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: tag.h,v 1.1
0 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_TAG_H
...
...
src/libid3tag/ucs4.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: ucs4.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: ucs4.c,v 1.1
3 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/ucs4.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: ucs4.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: ucs4.h,v 1.1
1 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_UCS4_H
...
...
src/libid3tag/utf16.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: utf16.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: utf16.c,v 1.
9 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/utf16.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: utf16.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: utf16.h,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_UTF16_H
...
...
src/libid3tag/utf8.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: utf8.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: utf8.c,v 1.
9 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/utf8.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: utf8.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: utf8.h,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_UTF8_H
...
...
src/libid3tag/util.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: util.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: util.c,v 1.
9 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/util.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: util.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: util.h,v 1.
6 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_UTIL_H
...
...
src/libid3tag/version.c
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: version.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: version.c,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libid3tag/version.h
View file @
e2d2baec
/*
* libid3tag - ID3 tag manipulation library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: version.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: version.h,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBID3TAG_VERSION_H
...
...
src/libmad/CHANGES
View file @
e2d2baec
libmad - MPEG audio decoder library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: CHANGES,v 1.1
2003/08/14 03:57:13 shank
Exp $
$Id: CHANGES,v 1.1
4 2004/02/17 02:02:03 rob
Exp $
===============================================================================
Version 0.15.1 (beta)
* Updated to autoconf 2.59, automake 1.8.2, libtool 1.5.2.
* Replaced Layer III IMDCT routine with one based on a faster algorithm,
improving both speed and accuracy.
* Improved portability of the Huffman table initialization.
* Fixed a problem that could result in an assertion failure in layer3.c
due to an invalid Layer III free format bitrate.
* Improved the robustness of Layer II bitrate/mode combinations, and added
a new MAD_ERROR_BADMODE error enum. The allowability of low-bitrate
stereo streams is influenced by the --enable-strict-iso option to
`configure'.
Version 0.15.0 (beta)
* Updated to autoconf 2.57, automake 1.7.5, libtool 1.4.3.
...
...
@@ -98,7 +115,7 @@ Version 0.13.0 (beta)
* Eliminated `+' from asm constraints under Intel for better compatibility
with some compilers.
* Fixed a PIC-related problem in
libmad/
imdct_l_arm.S.
* Fixed a PIC-related problem in imdct_l_arm.S.
* Eliminated a static variable to make libmad thread-safe.
...
...
@@ -196,9 +213,9 @@ Version 0.12.0 (alpha)
* Further developed the async API; arbitrary messages can now be passed to
the subsidiary decoding process.
* Streamlined
libmad/timer.c and extended its interface. It now has
support for video frame/field lengths, including output support for
drop-frame
encoding.
* Streamlined
timer.c and extended its interface. It now has support for
video frame/field lengths, including output support for drop-frame
encoding.
* Replaced many constant integer preprocessor defines with enums.
...
...
src/libmad/COPYRIGHT
View file @
e2d2baec
libmad - MPEG audio decoder library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
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
...
...
src/libmad/CREDITS
View file @
e2d2baec
libmad - MPEG audio decoder library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: CREDITS,v 1.
1 2003/08/14 03:57:13 shank
Exp $
$Id: CREDITS,v 1.
5 2004/02/17 02:02:03 rob
Exp $
===============================================================================
...
...
@@ -19,12 +19,20 @@ CONTRIBUTORS
Anonymous
2002/03/15: frame.c
- Reported problem with use of reserved emphasis value.
2003/08/31: layer12.c
- Suggested support for certain disallowed bitrate/mode
combinations.
Niek Albers <info@daansystems.com>
2003/04/21: layer3.c
- Reported runtime uninitialized use of `ptr' in designating
ancillary bits after a decoding error.
Christian Biere <cbiere@users.sourceforge.net>
2003/02/01: frame.c
- Reported assertion failure in layer3.c due to an
invalid/unsupported Layer III free format bitrate.
David Blythe <blythe@routefree.com>
2001/01/30: fixed.h
- Provided initial PowerPC fixed-point assembly.
...
...
@@ -33,6 +41,10 @@ CONTRIBUTORS
2000/09/20: imdct_l_arm.S
- Suggested patch for a.out compatibility.
Brian Cameron <Brian.Cameron@sun.com>
2003/07/02: huffman.c
- Suggested changes for improved portability.
Joshua Haberman <joshua@haberman.com>
2001/08/10: decoder.c, huffman.c
- Suggested portability fixes.
...
...
@@ -41,6 +53,10 @@ CONTRIBUTORS
2002/05/04: sf_table.dat, layer12.c
- Reported problem with use of (missing) scalefactor index 63.
Felix von Leitner <felix-mad@fefe.de>
2003/01/21: fixed.h
- Suggested Intel scaling alternative for possible speedup.
Andre McCurdy <armccurdy@yahoo.co.uk>
2000/08/10: imdct_l_arm.S
- ARM optimized assembly replacement for III_imdct_l().
...
...
src/libmad/D.dat
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: D.dat,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: D.dat,v 1.
9 2004/01/23 09:41:32 rob
Exp $
*/
/*
...
...
src/libmad/Makefile.am
View file @
e2d2baec
##
## libmad - MPEG audio decoder library
## Copyright (C) 2000-200
3
Underbit Technologies, Inc.
## Copyright (C) 2000-200
4
Underbit Technologies, Inc.
##
## 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
...
...
@@ -16,7 +16,7 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##
## $Id: Makefile.am,v 1.
1 2003/08/14 03:57:13 shank
Exp $
## $Id: Makefile.am,v 1.
23 2004/02/17 02:02:03 rob
Exp $
##
## Process this file with automake to produce Makefile.in
...
...
@@ -96,7 +96,7 @@ CLEANFILES = mad.h
## then set AGE to 0.
version_current
=
2
version_revision
=
0
version_revision
=
1
version_age
=
2
version_info
=
$(version_current)
:
$(version_revision)
:
$(version_age)
...
...
src/libmad/README
View file @
e2d2baec
libmad - MPEG audio decoder library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: README,v 1.
1 2003/08/14 03:57:13 shank
Exp $
$Id: README,v 1.
4 2004/01/23 09:41:32 rob
Exp $
===============================================================================
...
...
src/libmad/TODO
View file @
e2d2baec
libmad - MPEG audio decoder library
Copyright (C) 2000-200
3
Underbit Technologies, Inc.
Copyright (C) 2000-200
4
Underbit Technologies, Inc.
$Id: TODO,v 1.
1 2003/08/14 03:57:13 shank
Exp $
$Id: TODO,v 1.
3 2004/02/05 09:02:39 rob
Exp $
===============================================================================
...
...
@@ -57,7 +57,6 @@ libmad Layer I:
- check frame length sanity
libmad Layer II:
- check legal bitrate/mode combinations
- check frame length sanity
libmad Layer III:
...
...
src/libmad/VERSION
View file @
e2d2baec
0.15.
0
b
0.15.
1
b
configure.ac:24
version.h:25-28
msvc++/config.h:
115
msvc++/mad.h:
38-41
msvc++/config.h:
99,105,120
msvc++/mad.h:
41-44
Makefile.am:
89-91
Makefile.am:
98-100
src/libmad/bit.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: bit.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: bit.c,v 1.1
2 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libmad/bit.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: bit.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: bit.h,v 1.1
2 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBMAD_BIT_H
...
...
src/libmad/config.h.in
View file @
e2d2baec
...
...
@@ -118,14 +118,16 @@
/* Version number of package */
#undef VERSION
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#undef inline
#endif
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
src/libmad/configure.ac
View file @
e2d2baec
dnl -*- m4 -*-
dnl
dnl libmad - MPEG audio decoder library
dnl Copyright (C) 2000-200
3
Underbit Technologies, Inc.
dnl Copyright (C) 2000-200
4
Underbit Technologies, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
...
...
@@ -17,11 +17,11 @@ dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl
AC_REVISION([$Id: configure.ac,v 1.
1 2003/08/14 03:57:13 shank
Exp $])dnl
AC_REVISION([$Id: configure.ac,v 1.
9 2004/01/23 09:41:32 rob
Exp $])dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT([MPEG Audio Decoder], [0.15.
0
b], [support@underbit.com], [libmad])
AC_INIT([MPEG Audio Decoder], [0.15.
1
b], [support@underbit.com], [libmad])
AC_PREREQ(2.53)
AC_CONFIG_SRCDIR([decoder.h])
...
...
@@ -212,6 +212,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
AC_C_BIGENDIAN
AC_TYPE_PID_T
AC_CHECK_SIZEOF(int, 2)
...
...
src/libmad/decoder.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: decoder.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: decoder.c,v 1.
22 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libmad/decoder.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: decoder.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: decoder.h,v 1.1
7 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBMAD_DECODER_H
...
...
src/libmad/fixed.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: fixed.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: fixed.c,v 1.1
3 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libmad/fixed.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: fixed.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: fixed.h,v 1.
38 2004/02/17 02:02:03 rob
Exp $
*/
# ifndef LIBMAD_FIXED_H
...
...
@@ -208,7 +208,22 @@ mad_fixed_t mad_f_mul_inline(mad_fixed_t x, mad_fixed_t y)
: "cc"); \
__result; \
})
# else
# elif defined(OPT_INTEL)
/*
* Alternate Intel scaling that may or may not perform better.
*/
# define mad_f_scale64(hi, lo) \
({ mad_fixed_t __result; \
asm ("shrl %3,%1\n\t" \
"shll %4,%2\n\t" \
"orl %2,%1" \
: "=rm" (__result) \
: "0" (lo), "r" (hi), \
"I" (MAD_F_SCALEBITS), "I" (32 - MAD_F_SCALEBITS) \
: "cc"); \
__result; \
})
# else
# define mad_f_scale64(hi, lo) \
({ mad_fixed_t __result; \
asm ("shrdl %3,%2,%1" \
...
...
src/libmad/frame.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: frame.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: frame.c,v 1.
29 2004/02/04 22:59:19 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -376,7 +376,8 @@ int mad_header_decode(struct mad_header *header, struct mad_stream *stream)
/* calculate free bit rate */
if
(
header
->
bitrate
==
0
)
{
if
((
stream
->
freerate
==
0
||
!
stream
->
sync
)
&&
if
((
stream
->
freerate
==
0
||
!
stream
->
sync
||
(
header
->
layer
==
MAD_LAYER_III
&&
stream
->
freerate
>
640000
))
&&
free_bitrate
(
stream
,
header
)
==
-
1
)
goto
fail
;
...
...
src/libmad/frame.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: frame.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: frame.h,v 1.
20 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBMAD_FRAME_H
...
...
src/libmad/global.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: global.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: global.h,v 1.1
1 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBMAD_GLOBAL_H
...
...
src/libmad/huffman.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: huffman.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: huffman.c,v 1.1
0 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -34,13 +34,19 @@
* These tables support decoding up to 4 Huffman code bits at a time.
*/
# if defined(__GNUC__)
# define PTR(offs, bits) { ptr: { 0, bits, offs } }
# define V(v, w, x, y, hlen) { value: { 1, hlen, v, w, x, y } }
# if defined(__GNUC__) || \
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901)
# define PTR(offs, bits) { .ptr = { 0, bits, offs } }
# define V(v, w, x, y, hlen) { .value = { 1, hlen, v, w, x, y } }
# else
# define PTR(offs, bits) { { 0, bits, offs } }
# define V(v, w, x, y, hlen) { { 1, hlen, (v << 0) | (w << 1) | \
(x << 2) | (y << 3) } }
# if defined(WORDS_BIGENDIAN)
# define V(v, w, x, y, hlen) { { 1, hlen, (v << 11) | (w << 10) | \
(x << 9) | (y << 8) } }
# else
# define V(v, w, x, y, hlen) { { 1, hlen, (v << 0) | (w << 1) | \
(x << 2) | (y << 3) } }
# endif
# endif
static
...
...
@@ -106,12 +112,17 @@ union huffquad const hufftabB[] = {
# undef V
# undef PTR
# if defined(__GNUC__)
# define PTR(offs, bits) { ptr: { 0, bits, offs } }
# define V(x, y, hlen) { value: { 1, hlen, x, y } }
# if defined(__GNUC__) || \
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901)
# define PTR(offs, bits) { .ptr = { 0, bits, offs } }
# define V(x, y, hlen) { .value = { 1, hlen, x, y } }
# else
# define PTR(offs, bits) { { 0, bits, offs } }
# define V(x, y, hlen) { { 1, hlen, (x << 0) | (y << 4) } }
# if defined(WORDS_BIGENDIAN)
# define V(x, y, hlen) { { 1, hlen, (x << 8) | (y << 4) } }
# else
# define V(x, y, hlen) { { 1, hlen, (x << 0) | (y << 4) } }
# endif
# endif
static
...
...
src/libmad/huffman.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: huffman.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: huffman.h,v 1.1
1 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBMAD_HUFFMAN_H
...
...
src/libmad/imdct_l_arm.S
View file @
e2d2baec
...
...
@@ -22,7 +22,7 @@
*
*****************************************************************************
*
* $Id: imdct_l_arm.S,v 1.
1 2003/08/14 03:57:13 shank Exp
$
* $Id: imdct_l_arm.S,v 1.
7 2001/03/25 20:03:34 rob Rel
$
*
* 2001/03/24: Andre McCurdy <armccurdy@yahoo.co.uk>
* - Corrected PIC unsafe loading of address of 'imdct36_long_karray'
...
...
src/libmad/imdct_s.dat
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: imdct_s.dat,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: imdct_s.dat,v 1.
8 2004/01/23 09:41:32 rob
Exp $
*/
/* 0 */ { MAD_F(0x09bd7ca0) /* 0.608761429 */,
...
...
src/libmad/layer12.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: layer12.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: layer12.c,v 1.1
7 2004/02/05 09:02:39 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -341,20 +341,44 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
if
(
header
->
flags
&
MAD_FLAG_LSF_EXT
)
index
=
4
;
else
if
(
header
->
flags
&
MAD_FLAG_FREEFORMAT
)
goto
freeformat
;
else
{
switch
(
nch
==
2
?
header
->
bitrate
/
2
:
header
->
bitrate
)
{
case
32000
:
case
48000
:
index
=
(
header
->
samplerate
==
32000
)
?
3
:
2
;
break
;
unsigned
long
bitrate_per_channel
;
case
56000
:
case
64000
:
case
80000
:
index
=
0
;
break
;
bitrate_per_channel
=
header
->
bitrate
;
if
(
nch
==
2
)
{
bitrate_per_channel
/=
2
;
default:
# if defined(OPT_STRICT)
/*
* ISO/IEC 11172-3 allows only single channel mode for 32, 48, 56, and
* 80 kbps bitrates in Layer II, but some encoders ignore this
* restriction. We enforce it if OPT_STRICT is defined.
*/
if
(
bitrate_per_channel
<=
28000
||
bitrate_per_channel
==
40000
)
{
stream
->
error
=
MAD_ERROR_BADMODE
;
return
-
1
;
}
# endif
}
else
{
/* nch == 1 */
if
(
bitrate_per_channel
>
192000
)
{
/*
* ISO/IEC 11172-3 does not allow single channel mode for 224, 256,
* 320, or 384 kbps bitrates in Layer II.
*/
stream
->
error
=
MAD_ERROR_BADMODE
;
return
-
1
;
}
}
if
(
bitrate_per_channel
<=
48000
)
index
=
(
header
->
samplerate
==
32000
)
?
3
:
2
;
else
if
(
bitrate_per_channel
<=
80000
)
index
=
0
;
else
{
freeformat:
index
=
(
header
->
samplerate
==
48000
)
?
0
:
1
;
}
}
...
...
src/libmad/layer12.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: layer12.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: layer12.h,v 1.1
0 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBMAD_LAYER12_H
...
...
src/libmad/layer3.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: layer3.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: layer3.c,v 1.
43 2004/01/23 09:41:32 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -1575,6 +1575,193 @@ void III_aliasreduce(mad_fixed_t xr[576], int lines)
# if defined(ASO_IMDCT)
void
III_imdct_l
(
mad_fixed_t
const
[
18
],
mad_fixed_t
[
36
],
unsigned
int
);
# else
# if 1
static
void
fastsdct
(
mad_fixed_t
const
x
[
9
],
mad_fixed_t
y
[
18
])
{
mad_fixed_t
a0
,
a1
,
a2
,
a3
,
a4
,
a5
,
a6
,
a7
,
a8
,
a9
,
a10
,
a11
,
a12
;
mad_fixed_t
a13
,
a14
,
a15
,
a16
,
a17
,
a18
,
a19
,
a20
,
a21
,
a22
,
a23
,
a24
,
a25
;
mad_fixed_t
m0
,
m1
,
m2
,
m3
,
m4
,
m5
,
m6
,
m7
;
enum
{
c0
=
MAD_F
(
0x1f838b8d
),
/* 2 * cos( 1 * PI / 18) */
c1
=
MAD_F
(
0x1bb67ae8
),
/* 2 * cos( 3 * PI / 18) */
c2
=
MAD_F
(
0x18836fa3
),
/* 2 * cos( 4 * PI / 18) */
c3
=
MAD_F
(
0x1491b752
),
/* 2 * cos( 5 * PI / 18) */
c4
=
MAD_F
(
0x0af1d43a
),
/* 2 * cos( 7 * PI / 18) */
c5
=
MAD_F
(
0x058e86a0
),
/* 2 * cos( 8 * PI / 18) */
c6
=
-
MAD_F
(
0x1e11f642
)
/* 2 * cos(16 * PI / 18) */
};
a0
=
x
[
3
]
+
x
[
5
];
a1
=
x
[
3
]
-
x
[
5
];
a2
=
x
[
6
]
+
x
[
2
];
a3
=
x
[
6
]
-
x
[
2
];
a4
=
x
[
1
]
+
x
[
7
];
a5
=
x
[
1
]
-
x
[
7
];
a6
=
x
[
8
]
+
x
[
0
];
a7
=
x
[
8
]
-
x
[
0
];
a8
=
a0
+
a2
;
a9
=
a0
-
a2
;
a10
=
a0
-
a6
;
a11
=
a2
-
a6
;
a12
=
a8
+
a6
;
a13
=
a1
-
a3
;
a14
=
a13
+
a7
;
a15
=
a3
+
a7
;
a16
=
a1
-
a7
;
a17
=
a1
+
a3
;
m0
=
mad_f_mul
(
a17
,
-
c3
);
m1
=
mad_f_mul
(
a16
,
-
c0
);
m2
=
mad_f_mul
(
a15
,
-
c4
);
m3
=
mad_f_mul
(
a14
,
-
c1
);
m4
=
mad_f_mul
(
a5
,
-
c1
);
m5
=
mad_f_mul
(
a11
,
-
c6
);
m6
=
mad_f_mul
(
a10
,
-
c5
);
m7
=
mad_f_mul
(
a9
,
-
c2
);
a18
=
x
[
4
]
+
a4
;
a19
=
2
*
x
[
4
]
-
a4
;
a20
=
a19
+
m5
;
a21
=
a19
-
m5
;
a22
=
a19
+
m6
;
a23
=
m4
+
m2
;
a24
=
m4
-
m2
;
a25
=
m4
+
m1
;
/* output to every other slot for convenience */
y
[
0
]
=
a18
+
a12
;
y
[
2
]
=
m0
-
a25
;
y
[
4
]
=
m7
-
a20
;
y
[
6
]
=
m3
;
y
[
8
]
=
a21
-
m6
;
y
[
10
]
=
a24
-
m1
;
y
[
12
]
=
a12
-
2
*
a18
;
y
[
14
]
=
a23
+
m0
;
y
[
16
]
=
a22
+
m7
;
}
static
inline
void
sdctII
(
mad_fixed_t
const
x
[
18
],
mad_fixed_t
X
[
18
])
{
mad_fixed_t
tmp
[
9
];
int
i
;
/* scale[i] = 2 * cos(PI * (2 * i + 1) / (2 * 18)) */
static
mad_fixed_t
const
scale
[
9
]
=
{
MAD_F
(
0x1fe0d3b4
),
MAD_F
(
0x1ee8dd47
),
MAD_F
(
0x1d007930
),
MAD_F
(
0x1a367e59
),
MAD_F
(
0x16a09e66
),
MAD_F
(
0x125abcf8
),
MAD_F
(
0x0d8616bc
),
MAD_F
(
0x08483ee1
),
MAD_F
(
0x02c9fad7
)
};
/* divide the 18-point SDCT-II into two 9-point SDCT-IIs */
/* even input butterfly */
for
(
i
=
0
;
i
<
9
;
i
+=
3
)
{
tmp
[
i
+
0
]
=
x
[
i
+
0
]
+
x
[
18
-
(
i
+
0
)
-
1
];
tmp
[
i
+
1
]
=
x
[
i
+
1
]
+
x
[
18
-
(
i
+
1
)
-
1
];
tmp
[
i
+
2
]
=
x
[
i
+
2
]
+
x
[
18
-
(
i
+
2
)
-
1
];
}
fastsdct
(
tmp
,
&
X
[
0
]);
/* odd input butterfly and scaling */
for
(
i
=
0
;
i
<
9
;
i
+=
3
)
{
tmp
[
i
+
0
]
=
mad_f_mul
(
x
[
i
+
0
]
-
x
[
18
-
(
i
+
0
)
-
1
],
scale
[
i
+
0
]);
tmp
[
i
+
1
]
=
mad_f_mul
(
x
[
i
+
1
]
-
x
[
18
-
(
i
+
1
)
-
1
],
scale
[
i
+
1
]);
tmp
[
i
+
2
]
=
mad_f_mul
(
x
[
i
+
2
]
-
x
[
18
-
(
i
+
2
)
-
1
],
scale
[
i
+
2
]);
}
fastsdct
(
tmp
,
&
X
[
1
]);
/* output accumulation */
for
(
i
=
3
;
i
<
18
;
i
+=
8
)
{
X
[
i
+
0
]
-=
X
[(
i
+
0
)
-
2
];
X
[
i
+
2
]
-=
X
[(
i
+
2
)
-
2
];
X
[
i
+
4
]
-=
X
[(
i
+
4
)
-
2
];
X
[
i
+
6
]
-=
X
[(
i
+
6
)
-
2
];
}
}
static
inline
void
dctIV
(
mad_fixed_t
const
y
[
18
],
mad_fixed_t
X
[
18
])
{
mad_fixed_t
tmp
[
18
];
int
i
;
/* scale[i] = 2 * cos(PI * (2 * i + 1) / (4 * 18)) */
static
mad_fixed_t
const
scale
[
18
]
=
{
MAD_F
(
0x1ff833fa
),
MAD_F
(
0x1fb9ea93
),
MAD_F
(
0x1f3dd120
),
MAD_F
(
0x1e84d969
),
MAD_F
(
0x1d906bcf
),
MAD_F
(
0x1c62648b
),
MAD_F
(
0x1afd100f
),
MAD_F
(
0x1963268b
),
MAD_F
(
0x1797c6a4
),
MAD_F
(
0x159e6f5b
),
MAD_F
(
0x137af940
),
MAD_F
(
0x11318ef3
),
MAD_F
(
0x0ec6a507
),
MAD_F
(
0x0c3ef153
),
MAD_F
(
0x099f61c5
),
MAD_F
(
0x06ed12c5
),
MAD_F
(
0x042d4544
),
MAD_F
(
0x0165547c
)
};
/* scaling */
for
(
i
=
0
;
i
<
18
;
i
+=
3
)
{
tmp
[
i
+
0
]
=
mad_f_mul
(
y
[
i
+
0
],
scale
[
i
+
0
]);
tmp
[
i
+
1
]
=
mad_f_mul
(
y
[
i
+
1
],
scale
[
i
+
1
]);
tmp
[
i
+
2
]
=
mad_f_mul
(
y
[
i
+
2
],
scale
[
i
+
2
]);
}
/* SDCT-II */
sdctII
(
tmp
,
X
);
/* scale reduction and output accumulation */
X
[
0
]
/=
2
;
for
(
i
=
1
;
i
<
17
;
i
+=
4
)
{
X
[
i
+
0
]
=
X
[
i
+
0
]
/
2
-
X
[(
i
+
0
)
-
1
];
X
[
i
+
1
]
=
X
[
i
+
1
]
/
2
-
X
[(
i
+
1
)
-
1
];
X
[
i
+
2
]
=
X
[
i
+
2
]
/
2
-
X
[(
i
+
2
)
-
1
];
X
[
i
+
3
]
=
X
[
i
+
3
]
/
2
-
X
[(
i
+
3
)
-
1
];
}
X
[
17
]
=
X
[
17
]
/
2
-
X
[
16
];
}
/*
* NAME: imdct36
* DESCRIPTION: perform X[18]->x[36] IMDCT using Szu-Wei Lee's fast algorithm
*/
static
inline
void
imdct36
(
mad_fixed_t
const
x
[
18
],
mad_fixed_t
y
[
36
])
{
mad_fixed_t
tmp
[
18
];
int
i
;
/* DCT-IV */
dctIV
(
x
,
tmp
);
/* convert 18-point DCT-IV to 36-point IMDCT */
for
(
i
=
0
;
i
<
9
;
i
+=
3
)
{
y
[
i
+
0
]
=
tmp
[
9
+
(
i
+
0
)];
y
[
i
+
1
]
=
tmp
[
9
+
(
i
+
1
)];
y
[
i
+
2
]
=
tmp
[
9
+
(
i
+
2
)];
}
for
(
i
=
9
;
i
<
27
;
i
+=
3
)
{
y
[
i
+
0
]
=
-
tmp
[
36
-
(
9
+
(
i
+
0
))
-
1
];
y
[
i
+
1
]
=
-
tmp
[
36
-
(
9
+
(
i
+
1
))
-
1
];
y
[
i
+
2
]
=
-
tmp
[
36
-
(
9
+
(
i
+
2
))
-
1
];
}
for
(
i
=
27
;
i
<
36
;
i
+=
3
)
{
y
[
i
+
0
]
=
-
tmp
[(
i
+
0
)
-
27
];
y
[
i
+
1
]
=
-
tmp
[(
i
+
1
)
-
27
];
y
[
i
+
2
]
=
-
tmp
[(
i
+
2
)
-
27
];
}
}
# else
/*
* NAME: imdct36
* DESCRIPTION: perform X[18]->x[36] IMDCT
...
...
@@ -1865,6 +2052,7 @@ void imdct36(mad_fixed_t const X[18], mad_fixed_t x[36])
x
[
26
]
=
x
[
27
]
=
MAD_F_MLZ
(
hi
,
lo
)
+
t5
;
}
# endif
/*
* NAME: III_imdct_l()
...
...
@@ -1929,7 +2117,11 @@ void III_imdct_l(mad_fixed_t const X[18], mad_fixed_t z[36],
break
;
case
1
:
/* start block */
for
(
i
=
0
;
i
<
18
;
++
i
)
z
[
i
]
=
mad_f_mul
(
z
[
i
],
window_l
[
i
]);
for
(
i
=
0
;
i
<
18
;
i
+=
3
)
{
z
[
i
+
0
]
=
mad_f_mul
(
z
[
i
+
0
],
window_l
[
i
+
0
]);
z
[
i
+
1
]
=
mad_f_mul
(
z
[
i
+
1
],
window_l
[
i
+
1
]);
z
[
i
+
2
]
=
mad_f_mul
(
z
[
i
+
2
],
window_l
[
i
+
2
]);
}
/* (i = 18; i < 24; ++i) z[i] unchanged */
for
(
i
=
24
;
i
<
30
;
++
i
)
z
[
i
]
=
mad_f_mul
(
z
[
i
],
window_s
[
i
-
18
]);
for
(
i
=
30
;
i
<
36
;
++
i
)
z
[
i
]
=
0
;
...
...
@@ -1939,7 +2131,11 @@ void III_imdct_l(mad_fixed_t const X[18], mad_fixed_t z[36],
for
(
i
=
0
;
i
<
6
;
++
i
)
z
[
i
]
=
0
;
for
(
i
=
6
;
i
<
12
;
++
i
)
z
[
i
]
=
mad_f_mul
(
z
[
i
],
window_s
[
i
-
6
]);
/* (i = 12; i < 18; ++i) z[i] unchanged */
for
(
i
=
18
;
i
<
36
;
++
i
)
z
[
i
]
=
mad_f_mul
(
z
[
i
],
window_l
[
i
]);
for
(
i
=
18
;
i
<
36
;
i
+=
3
)
{
z
[
i
+
0
]
=
mad_f_mul
(
z
[
i
+
0
],
window_l
[
i
+
0
]);
z
[
i
+
1
]
=
mad_f_mul
(
z
[
i
+
1
],
window_l
[
i
+
1
]);
z
[
i
+
2
]
=
mad_f_mul
(
z
[
i
+
2
],
window_l
[
i
+
2
]);
}
break
;
}
}
...
...
src/libmad/layer3.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: layer3.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: layer3.h,v 1.1
0 2004/01/23 09:41:32 rob
Exp $
*/
# ifndef LIBMAD_LAYER3_H
...
...
src/libmad/mad.h.sed
View file @
e2d2baec
#
# libmad - MPEG audio decoder library
# Copyright (C) 2000-200
3
Underbit Technologies, Inc.
# Copyright (C) 2000-200
4
Underbit Technologies, Inc.
#
# 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
...
...
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: mad.h.sed,v 1.
1 2003/08/14 03:57:13 shank
Exp $
# $Id: mad.h.sed,v 1.
9 2004/01/23 09:41:32 rob
Exp $
#
/
^
\/\*
$
/
{
...
...
src/libmad/minimad.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: minimad.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: minimad.c,v 1.
4 2004/01/23 09:41:32 rob
Exp $
*/
# include <stdio.h>
...
...
@@ -163,8 +163,8 @@ enum mad_flow output(void *data,
/*
* This is the error callback function. It is called whenever a decoding
* error occurs. The error is indicated by stream->error; the list of
* possible MAD_ERROR_* errors can be found in the mad.h (or
*
libmad/stream.h)
header file.
* possible MAD_ERROR_* errors can be found in the mad.h (or
stream.h)
* header file.
*/
static
...
...
@@ -184,9 +184,9 @@ enum mad_flow error(void *data,
}
/*
* This is the function called by main() above to perform all the
*
decoding. It instantiates a decoder object and configures it with the
*
input,
output, and error callback functions above. A single call to
* This is the function called by main() above to perform all the
decoding.
*
It instantiates a decoder object and configures it with the input,
* output, and error callback functions above. A single call to
* mad_decoder_run() continues until a callback function returns
* MAD_FLOW_STOP (to stop decoding) or MAD_FLOW_BREAK (to stop decoding and
* signal an error).
...
...
src/libmad/qc_table.dat
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: qc_table.dat,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: qc_table.dat,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
/*
...
...
src/libmad/rq_table.dat
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: rq_table.dat,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: rq_table.dat,v 1.
7 2004/01/23 09:41:32 rob
Exp $
*/
/*
...
...
src/libmad/sf_table.dat
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: sf_table.dat,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: sf_table.dat,v 1.
7 2004/01/23 09:41:33 rob
Exp $
*/
/*
...
...
src/libmad/stream.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: stream.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: stream.c,v 1.1
2 2004/02/05 09:02:39 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
@@ -145,6 +145,7 @@ char const *mad_stream_errorstr(struct mad_stream const *stream)
case
MAD_ERROR_BADCRC
:
return
"CRC check failed"
;
case
MAD_ERROR_BADBITALLOC
:
return
"forbidden bit allocation value"
;
case
MAD_ERROR_BADSCALEFACTOR
:
return
"bad scalefactor index"
;
case
MAD_ERROR_BADMODE
:
return
"bad bitrate/mode combination"
;
case
MAD_ERROR_BADFRAMELEN
:
return
"bad frame length"
;
case
MAD_ERROR_BADBIGVALUES
:
return
"bad big_values count"
;
case
MAD_ERROR_BADBLOCKTYPE
:
return
"reserved block_type"
;
...
...
src/libmad/stream.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: stream.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: stream.h,v 1.
20 2004/02/05 09:02:39 rob
Exp $
*/
# ifndef LIBMAD_STREAM_H
...
...
@@ -44,6 +44,7 @@ enum mad_error {
MAD_ERROR_BADCRC
=
0x0201
,
/* CRC check failed */
MAD_ERROR_BADBITALLOC
=
0x0211
,
/* forbidden bit allocation value */
MAD_ERROR_BADSCALEFACTOR
=
0x0221
,
/* bad scalefactor index */
MAD_ERROR_BADMODE
=
0x0222
,
/* bad bitrate/mode combination */
MAD_ERROR_BADFRAMELEN
=
0x0231
,
/* bad frame length */
MAD_ERROR_BADBIGVALUES
=
0x0232
,
/* bad big_values count */
MAD_ERROR_BADBLOCKTYPE
=
0x0233
,
/* reserved block_type */
...
...
src/libmad/synth.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: synth.c,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: synth.c,v 1.
25 2004/01/23 09:41:33 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libmad/synth.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: synth.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: synth.h,v 1.1
5 2004/01/23 09:41:33 rob
Exp $
*/
# ifndef LIBMAD_SYNTH_H
...
...
src/libmad/timer.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: timer.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: timer.c,v 1.1
8 2004/01/23 09:41:33 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libmad/timer.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: timer.h,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: timer.h,v 1.1
6 2004/01/23 09:41:33 rob
Exp $
*/
# ifndef LIBMAD_TIMER_H
...
...
src/libmad/version.c
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: version.c,v 1.1
2003/08/14 03:57:13 shank
Exp $
* $Id: version.c,v 1.1
5 2004/01/23 09:41:33 rob
Exp $
*/
# ifdef HAVE_CONFIG_H
...
...
src/libmad/version.h
View file @
e2d2baec
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-200
3
Underbit Technologies, Inc.
* Copyright (C) 2000-200
4
Underbit Technologies, Inc.
*
* 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
...
...
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: version.h,v 1.
1 2003/08/14 03:57:13 shank
Exp $
* $Id: version.h,v 1.
26 2004/01/23 09:41:33 rob
Exp $
*/
# ifndef LIBMAD_VERSION_H
...
...
@@ -24,7 +24,7 @@
# define MAD_VERSION_MAJOR 0
# define MAD_VERSION_MINOR 15
# define MAD_VERSION_PATCH
0
# define MAD_VERSION_PATCH
1
# define MAD_VERSION_EXTRA " (beta)"
# define MAD_VERSION_STRINGIZE(str) #str
...
...
@@ -35,7 +35,7 @@
MAD_VERSION_STRING(MAD_VERSION_PATCH) \
MAD_VERSION_EXTRA
# define MAD_PUBLISHYEAR "2000-200
3
"
# define MAD_PUBLISHYEAR "2000-200
4
"
# define MAD_AUTHOR "Underbit Technologies, Inc."
# define MAD_EMAIL "info@underbit.com"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment