Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
f8a61a17
Commit
f8a61a17
authored
Aug 21, 2009
by
Pierre
Browse files
lpcm: Fix a few unsigned comparison warnings.
parent
73ef4095
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/lpcm.c
View file @
f8a61a17
...
...
@@ -597,7 +597,7 @@ static int AobHeader( unsigned *pi_rate,
*
pi_layout
=
i_layout1
|
(
b_group2_used
?
i_layout2
:
0
);
/* */
for
(
int
i
=
0
;
i
<
2
;
i
++
)
for
(
unsigned
i
=
0
;
i
<
2
;
i
++
)
{
const
unsigned
*
p_aob
=
i
==
0
?
p_aob_group1
[
i_assignment
]
:
p_aob_group2
[
i_assignment
];
...
...
@@ -607,7 +607,7 @@ static int AobHeader( unsigned *pi_rate,
g
[
i
].
b_used
=
i
==
0
||
b_group2_used
;
if
(
!
g
[
i
].
b_used
)
continue
;
for
(
int
j
=
0
;
j
<
g
[
i
].
i_channels
;
j
++
)
for
(
unsigned
j
=
0
;
j
<
g
[
i
].
i_channels
;
j
++
)
{
g
[
i
].
pi_position
[
j
]
=
0
;
for
(
int
k
=
0
;
pi_vlc_chan_order_wg4
[
k
]
!=
0
;
k
++
)
...
...
@@ -797,9 +797,9 @@ static void AobExtract( aout_buffer_t *p_aout_buffer,
p_block
->
i_buffer
=
0
;
break
;
}
for
(
int
n
=
0
;
n
<
2
;
n
++
)
for
(
unsigned
n
=
0
;
n
<
2
;
n
++
)
{
for
(
int
j
=
0
;
j
<
g
->
i_channels
&&
g
->
b_used
;
j
++
)
for
(
unsigned
j
=
0
;
j
<
g
->
i_channels
&&
g
->
b_used
;
j
++
)
{
const
int
i_src
=
n
*
g
->
i_channels
+
j
;
const
int
i_dst
=
n
*
i_channels
+
g
->
pi_position
[
j
];
...
...
Write
Preview
Supports
Markdown
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