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
cf2f0f1e
Commit
cf2f0f1e
authored
May 26, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another bunch of invalid config.h usage
parent
9e946839
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
17 deletions
+8
-17
include/vlc_codecs.h
include/vlc_codecs.h
+6
-0
include/vlc_common.h
include/vlc_common.h
+0
-11
include/vlc_config.h
include/vlc_config.h
+1
-5
include/vlc_plugin.h
include/vlc_plugin.h
+1
-1
No files found.
include/vlc_codecs.h
View file @
cf2f0f1e
...
...
@@ -28,6 +28,12 @@
#ifndef _VLC_CODECS_H
#define _VLC_CODECS_H 1
#ifdef HAVE_ATTRIBUTE_PACKED
# define ATTR_PACKED __attribute__((__packed__))
#else
# error FIXME
#endif
/* Structures exported to the demuxers and decoders */
#if !(defined _GUID_DEFINED || defined GUID_DEFINED)
...
...
include/vlc_common.h
View file @
cf2f0f1e
...
...
@@ -515,13 +515,6 @@ __vlc_gc_init( gc_object_t * p_gc, void (*pf_destructor)( gc_object_t * ),
/*****************************************************************************
* Macros and inline functions
*****************************************************************************/
#ifdef NTOHL_IN_SYS_PARAM_H
# include <sys/param.h>
#elif !defined(WIN32) && !defined( UNDER_CE )
# include <netinet/in.h>
#endif
/* NTOHL_IN_SYS_PARAM_H || WIN32 */
/* CEIL: division with round to nearest greater integer */
#define CEIL(n, d) ( ((n) / (d)) + ( ((n) % (d)) ? 1 : 0) )
...
...
@@ -698,10 +691,6 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# define ATTR_ALIGN(align)
#endif
#ifdef HAVE_ATTRIBUTE_PACKED
# define ATTR_PACKED __attribute__((__packed__))
#endif
/* */
#define VLC_UNUSED(x) (void)(x)
...
...
include/vlc_config.h
View file @
cf2f0f1e
...
...
@@ -148,11 +148,7 @@
/* Video heap size - remember that a decompressed picture is big
* (~1 Mbyte) before using huge values */
#ifdef OPTIMIZE_MEMORY
# define VOUT_MAX_PICTURES 5
#else
# define VOUT_MAX_PICTURES 8
#endif
#define VOUT_MAX_PICTURES 8
/* Minimum number of direct pictures the video output will accept without
* creating additional pictures in system memory */
...
...
include/vlc_plugin.h
View file @
cf2f0f1e
...
...
@@ -43,7 +43,7 @@
/* Explanation:
*
* if
HAVE_DYNAMIC_PLUGINS is NOT set
, we will need:
* if
linking a module statically
, we will need:
* #define MODULE_FUNC( zog ) module_foo_zog
*
* this can't easily be done with the C preprocessor, thus a few ugly hacks.
...
...
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