Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
e6898a37
Commit
e6898a37
authored
Jan 24, 2001
by
Josh Coalson
Browse files
drop major/minor version numbers, use just version string
parent
8f7dfd5b
Changes
4
Hide whitespace changes
Inline
Side-by-side
include/FLAC/format.h
View file @
e6898a37
...
...
@@ -38,8 +38,6 @@
/* VERSION comes from configure */
#define FLAC__VERSION_STRING VERSION
extern
const
unsigned
FLAC__MAJOR_VERSION
;
extern
const
unsigned
FLAC__MINOR_VERSION
;
extern
const
byte
FLAC__STREAM_SYNC_STRING
[
4
];
/* = "fLaC" */
;
extern
const
unsigned
FLAC__STREAM_SYNC
;
/* = 0x664C6143 */
;
...
...
src/flac/main.c
View file @
e6898a37
...
...
@@ -257,7 +257,7 @@ int main(int argc, char *argv[])
if
(
verbose
)
{
printf
(
"
\n
"
);
printf
(
"flac
v%u.%u
, Copyright (C) 2000,2001 Josh Coalson
\n
"
,
FLAC__
MAJOR_
VERSION
,
FLAC__MINOR_VERSION
);
printf
(
"flac
%s
, Copyright (C) 2000,2001 Josh Coalson
\n
"
,
FLAC__VERSION
_STRING
);
printf
(
"flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
\n
"
);
printf
(
"welcome to redistribute it under certain conditions. Type `flac' for details.
\n\n
"
);
...
...
@@ -298,7 +298,7 @@ int usage(const char *message, ...)
}
printf
(
"==============================================================================
\n
"
);
printf
(
"flac - Command-line FLAC encoder/decoder version %
u.%u
\n
"
,
FLAC__
MAJOR_
VERSION
,
FLAC__MINOR_VERSION
);
printf
(
"flac - Command-line FLAC encoder/decoder version %
s
\n
"
,
FLAC__VERSION
_STRING
);
printf
(
"Copyright (C) 2000,2001 Josh Coalson
\n
"
);
printf
(
"
\n
"
);
printf
(
"This program is free software; you can redistribute it and/or
\n
"
);
...
...
src/libFLAC/format.c
View file @
e6898a37
...
...
@@ -21,9 +21,6 @@
#include
<stdio.h>
#include
"FLAC/format.h"
const
unsigned
FLAC__MAJOR_VERSION
=
0
;
const
unsigned
FLAC__MINOR_VERSION
=
5
;
const
byte
FLAC__STREAM_SYNC_STRING
[
4
]
=
{
'f'
,
'L'
,
'a'
,
'C'
};
const
unsigned
FLAC__STREAM_SYNC
=
0x664C6143
;
const
unsigned
FLAC__STREAM_SYNC_LEN
=
32
;
/* bits */
;
...
...
src/plugin_xmms/plugin.c
View file @
e6898a37
...
...
@@ -106,7 +106,7 @@ static bool audio_error_ = false;
InputPlugin
*
get_iplugin_info
()
{
flac_ip
.
description
=
g_strdup_printf
(
"FLAC Player v%
u.%u
"
,
FLAC__
MAJOR_
VERSION
,
FLAC__MINOR_VERSION
);
flac_ip
.
description
=
g_strdup_printf
(
"FLAC Player v%
s
"
,
FLAC__VERSION
_STRING
);
return
&
flac_ip
;
}
...
...
Write
Preview
Supports
Markdown
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