Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f8a61a17
Commit
f8a61a17
authored
Aug 21, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lpcm: Fix a few unsigned comparison warnings.
parent
73ef4095
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/codec/lpcm.c
modules/codec/lpcm.c
+4
-4
No files found.
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
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