Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
e86e8581
Commit
e86e8581
authored
Feb 01, 2011
by
Gianluigi Tiesi
Committed by
Mans Rullgard
Feb 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dca: avoid C99 declaration in for() expression
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
f3619680
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dca.c
libavcodec/dca.c
+3
-1
No files found.
libavcodec/dca.c
View file @
e86e8581
...
@@ -1354,7 +1354,9 @@ static int dca_exss_mask2count(int mask)
...
@@ -1354,7 +1354,9 @@ static int dca_exss_mask2count(int mask)
*/
*/
static
void
dca_exss_skip_mix_coeffs
(
GetBitContext
*
gb
,
int
channels
,
int
out_ch
)
static
void
dca_exss_skip_mix_coeffs
(
GetBitContext
*
gb
,
int
channels
,
int
out_ch
)
{
{
for
(
int
i
=
0
;
i
<
channels
;
i
++
)
{
int
i
;
for
(
i
=
0
;
i
<
channels
;
i
++
)
{
int
mix_map_mask
=
get_bits
(
gb
,
out_ch
);
int
mix_map_mask
=
get_bits
(
gb
,
out_ch
);
int
num_coeffs
=
av_popcount
(
mix_map_mask
);
int
num_coeffs
=
av_popcount
(
mix_map_mask
);
skip_bits_long
(
gb
,
num_coeffs
*
6
);
skip_bits_long
(
gb
,
num_coeffs
*
6
);
...
...
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