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
0d1a3539
Commit
0d1a3539
authored
Dec 31, 2007
by
Eric Wong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix builds that only have FLAC >= 1.1.3 but not Ogg-Vorbis
git-svn-id:
https://svn.musicpd.org/mpd/trunk@7108
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
b79f6b88
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
_flac_common.h
src/inputPlugins/_flac_common.h
+5
-7
_ogg_common.c
src/inputPlugins/_ogg_common.c
+2
-1
_ogg_common.h
src/inputPlugins/_ogg_common.h
+2
-1
No files found.
src/inputPlugins/_flac_common.h
View file @
0d1a3539
...
...
@@ -80,15 +80,13 @@ typedef unsigned flac_read_status_size_t;
# ifdef HAVE_OGGFLAC
# include <OggFLAC/seekable_stream_decoder.h>
# endif
#else
/* FLAC_API_VERSION_CURRENT >
=
7 */
#else
/* FLAC_API_VERSION_CURRENT > 7 */
/* OggFLAC support is handled by our flac_plugin already, and
* thus we *can* always have it if libFLAC was compiled with it */
# ifndef HAVE_OGGFLAC
# define HAVE_OGGFLAC 1
# endif
/*
* OggFLAC support is handled by our flac_plugin already, and
* thus we *can* always have it if libFLAC was compiled with it
*/
# include "_ogg_common.h"
# undef HAVE_OGGFLAC
/* we don't need this defined anymore */
# include <FLAC/stream_decoder.h>
# define flac_decoder FLAC__StreamDecoder
...
...
src/inputPlugins/_ogg_common.c
View file @
0d1a3539
...
...
@@ -24,7 +24,8 @@
#include "_flac_common.h"
#include "_ogg_common.h"
#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS)
#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS) || \
(defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7)
#include "../utils.h"
...
...
src/inputPlugins/_ogg_common.h
View file @
0d1a3539
...
...
@@ -24,7 +24,8 @@
#include "../inputPlugin.h"
#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS)
#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS) || \
(defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7)
typedef
enum
_ogg_stream_type
{
VORBIS
,
FLAC
}
ogg_stream_type
;
...
...
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