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
1de44b7c
Commit
1de44b7c
authored
Apr 14, 2010
by
Francois Cartegnie
Committed by
Rémi Denis-Courmont
Apr 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pragma packing for suncc
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
e4393c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
include/vlc_codecs.h
include/vlc_codecs.h
+13
-6
No files found.
include/vlc_codecs.h
View file @
1de44b7c
...
@@ -30,12 +30,6 @@
...
@@ -30,12 +30,6 @@
* This file defines codec related structures needed by the demuxers and decoders
* This file defines codec related structures needed by the demuxers and decoders
*/
*/
#ifdef HAVE_ATTRIBUTE_PACKED
# define ATTR_PACKED __attribute__((__packed__))
#else
# error FIXME
#endif
/* Structures exported to the demuxers and decoders */
/* Structures exported to the demuxers and decoders */
#if !(defined _GUID_DEFINED || defined GUID_DEFINED)
#if !(defined _GUID_DEFINED || defined GUID_DEFINED)
...
@@ -49,6 +43,15 @@ typedef struct _GUID
...
@@ -49,6 +43,15 @@ typedef struct _GUID
}
GUID
,
*
REFGUID
,
*
LPGUID
;
}
GUID
,
*
REFGUID
,
*
LPGUID
;
#endif
/* GUID_DEFINED */
#endif
/* GUID_DEFINED */
#ifdef HAVE_ATTRIBUTE_PACKED
# define ATTR_PACKED __attribute__((__packed__))
#elif defined(__SUNPRO_C)
# pragma pack(1)
# define ATTR_PACKED
#else
# error FIXME
#endif
#ifndef _WAVEFORMATEX_
#ifndef _WAVEFORMATEX_
#define _WAVEFORMATEX_
#define _WAVEFORMATEX_
typedef
struct
typedef
struct
...
@@ -199,6 +202,10 @@ ATTR_PACKED
...
@@ -199,6 +202,10 @@ ATTR_PACKED
}
VIDEOINFO
;
}
VIDEOINFO
;
#endif
#endif
#if defined(__SUNPRO_C)
# pragma pack()
#endif
/* WAVE format wFormatTag IDs */
/* WAVE format wFormatTag IDs */
#define WAVE_FORMAT_UNKNOWN 0x0000
/* Microsoft Corporation */
#define WAVE_FORMAT_UNKNOWN 0x0000
/* Microsoft Corporation */
#define WAVE_FORMAT_PCM 0x0001
/* Microsoft Corporation */
#define WAVE_FORMAT_PCM 0x0001
/* Microsoft Corporation */
...
...
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