Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a73d65a8
Commit
a73d65a8
authored
Aug 09, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warning about comparing signed unsigned.
parent
9aa09bba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/mux/wav.c
modules/mux/wav.c
+3
-1
No files found.
modules/mux/wav.c
View file @
a73d65a8
...
@@ -156,7 +156,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -156,7 +156,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
GUID
subformat_guid
=
{
0
,
0
,
0x10
,{
0x80
,
0
,
0
,
0xaa
,
0
,
0x38
,
0x9b
,
0x71
}};
GUID
subformat_guid
=
{
0
,
0
,
0x10
,{
0x80
,
0
,
0
,
0xaa
,
0
,
0x38
,
0x9b
,
0x71
}};
sout_mux_sys_t
*
p_sys
=
p_mux
->
p_sys
;
sout_mux_sys_t
*
p_sys
=
p_mux
->
p_sys
;
WAVEFORMATEX
*
p_waveformat
=
&
p_sys
->
waveformat
.
Format
;
WAVEFORMATEX
*
p_waveformat
=
&
p_sys
->
waveformat
.
Format
;
int
i_bytes_per_sample
,
i_format
,
i
;
int
i_bytes_per_sample
,
i_format
;
vlc_bool_t
b_ext
;
vlc_bool_t
b_ext
;
if
(
p_input
->
p_fmt
->
i_cat
!=
AUDIO_ES
)
if
(
p_input
->
p_fmt
->
i_cat
!=
AUDIO_ES
)
...
@@ -178,6 +178,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
...
@@ -178,6 +178,8 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
p_sys
->
i_channel_mask
=
0
;
p_sys
->
i_channel_mask
=
0
;
if
(
p_input
->
p_fmt
->
audio
.
i_physical_channels
)
if
(
p_input
->
p_fmt
->
audio
.
i_physical_channels
)
{
{
unsigned
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
pi_channels_in
)
/
sizeof
(
uint32_t
);
i
++
)
for
(
i
=
0
;
i
<
sizeof
(
pi_channels_in
)
/
sizeof
(
uint32_t
);
i
++
)
{
{
if
(
p_input
->
p_fmt
->
audio
.
i_physical_channels
&
pi_channels_src
[
i
])
if
(
p_input
->
p_fmt
->
audio
.
i_physical_channels
&
pi_channels_src
[
i
])
...
...
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