Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
bd2e2e8d
Commit
bd2e2e8d
authored
Oct 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Const fixes
parent
de3972b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
include/codecs.h
include/codecs.h
+5
-5
modules/audio_output/file.c
modules/audio_output/file.c
+4
-4
No files found.
include/codecs.h
View file @
bd2e2e8d
...
@@ -290,7 +290,7 @@ static struct
...
@@ -290,7 +290,7 @@ static struct
{
{
uint16_t
i_tag
;
uint16_t
i_tag
;
vlc_fourcc_t
i_fourcc
;
vlc_fourcc_t
i_fourcc
;
c
har
*
psz_name
;
c
onst
char
*
psz_name
;
}
}
wave_format_tag_to_fourcc
[]
=
wave_format_tag_to_fourcc
[]
=
{
{
...
@@ -326,7 +326,7 @@ wave_format_tag_to_fourcc[] =
...
@@ -326,7 +326,7 @@ wave_format_tag_to_fourcc[] =
};
};
static
inline
void
wf_tag_to_fourcc
(
uint16_t
i_tag
,
vlc_fourcc_t
*
fcc
,
static
inline
void
wf_tag_to_fourcc
(
uint16_t
i_tag
,
vlc_fourcc_t
*
fcc
,
char
**
ppsz_name
)
c
onst
c
har
**
ppsz_name
)
{
{
int
i
;
int
i
;
for
(
i
=
0
;
wave_format_tag_to_fourcc
[
i
].
i_tag
!=
0
;
i
++
)
for
(
i
=
0
;
wave_format_tag_to_fourcc
[
i
].
i_tag
!=
0
;
i
++
)
...
@@ -355,7 +355,7 @@ static struct
...
@@ -355,7 +355,7 @@ static struct
{
{
GUID
guid_tag
;
GUID
guid_tag
;
vlc_fourcc_t
i_fourcc
;
vlc_fourcc_t
i_fourcc
;
c
har
*
psz_name
;
c
onst
char
*
psz_name
;
}
}
sub_format_tag_to_fourcc
[]
=
sub_format_tag_to_fourcc
[]
=
{
{
...
@@ -371,7 +371,7 @@ static inline int guidcmp( const GUID *s1, const GUID *s2 )
...
@@ -371,7 +371,7 @@ static inline int guidcmp( const GUID *s1, const GUID *s2 )
}
}
static
inline
void
sf_tag_to_fourcc
(
GUID
*
guid_tag
,
static
inline
void
sf_tag_to_fourcc
(
GUID
*
guid_tag
,
vlc_fourcc_t
*
fcc
,
char
**
ppsz_name
)
vlc_fourcc_t
*
fcc
,
c
onst
c
har
**
ppsz_name
)
{
{
int
i
;
int
i
;
...
@@ -390,7 +390,7 @@ static inline void sf_tag_to_fourcc( GUID *guid_tag,
...
@@ -390,7 +390,7 @@ static inline void sf_tag_to_fourcc( GUID *guid_tag,
*/
*/
typedef
struct
es_sys_t
typedef
struct
es_sys_t
{
{
char
*
psz_header
;
/* for 'ssa ' and 'subt' */
char
*
psz_header
;
/* for 'ssa ' and 'subt' */
/* for spudec */
/* for spudec */
unsigned
int
i_orig_height
;
unsigned
int
i_orig_height
;
...
...
modules/audio_output/file.c
View file @
bd2e2e8d
...
@@ -90,9 +90,9 @@ static void Play ( aout_instance_t * );
...
@@ -90,9 +90,9 @@ static void Play ( aout_instance_t * );
#define WAV_LONGTEXT N_("Instead of writing a raw file, you can add a WAV " \
#define WAV_LONGTEXT N_("Instead of writing a raw file, you can add a WAV " \
"header to the file.")
"header to the file.")
static
c
har
*
format_list
[]
=
{
"u8"
,
"s8"
,
"u16"
,
"s16"
,
"u16_le"
,
"s
16_le"
,
static
c
onst
char
*
format_list
[]
=
{
"u8"
,
"s8"
,
"u16"
,
"s16"
,
"u
16_le"
,
"u16_be"
,
"s16_be"
,
"fixed32"
,
"float
32"
,
"s16_le"
,
"u16_be"
,
"s16_be"
,
"fixed
32"
,
"spdif"
};
"float32"
,
"spdif"
};
static
int
format_int
[]
=
{
VLC_FOURCC
(
'u'
,
'8'
,
' '
,
' '
),
static
int
format_int
[]
=
{
VLC_FOURCC
(
'u'
,
'8'
,
' '
,
' '
),
VLC_FOURCC
(
's'
,
'8'
,
' '
,
' '
),
VLC_FOURCC
(
's'
,
'8'
,
' '
,
' '
),
AOUT_FMT_U16_NE
,
AOUT_FMT_S16_NE
,
AOUT_FMT_U16_NE
,
AOUT_FMT_S16_NE
,
...
@@ -135,7 +135,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -135,7 +135,7 @@ static int Open( vlc_object_t * p_this )
{
{
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
char
*
psz_name
,
*
psz_format
;
char
*
psz_name
,
*
psz_format
;
char
**
ppsz_compare
=
format_list
;
c
onst
c
har
**
ppsz_compare
=
format_list
;
vlc_value_t
val
;
vlc_value_t
val
;
int
i_channels
,
i
=
0
;
int
i_channels
,
i
=
0
;
...
...
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