Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
21fe00fa
Commit
21fe00fa
authored
Apr 11, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vorbis: disable encoder code when SOUT is disabled
parent
889cc775
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
modules/codec/vorbis.c
modules/codec/vorbis.c
+9
-7
No files found.
modules/codec/vorbis.c
View file @
21fe00fa
...
...
@@ -42,18 +42,20 @@
#include <ogg/ogg.h>
#ifdef MODULE_NAME_IS_tremor
#include <tremor/ivorbiscodec.h>
#define INTERLEAVE_TYPE int32_t
#
include <tremor/ivorbiscodec.h>
#
define INTERLEAVE_TYPE int32_t
#else
#include <vorbis/vorbisenc.h>
#define INTERLEAVE_TYPE float
#define HAVE_VORBIS_ENCODER
# include <vorbis/codec.h>
# define INTERLEAVE_TYPE float
# ifndef OV_ECTL_RATEMANAGE_AVG
# ifdef ENABLE_SOUT
# define HAVE_VORBIS_ENCODER
# include <vorbis/vorbisenc.h>
# ifndef OV_ECTL_RATEMANAGE_AVG
# define OV_ECTL_RATEMANAGE_AVG 0x0
# endif
# endif
#endif
/*****************************************************************************
...
...
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