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
0569993e
Commit
0569993e
authored
Aug 23, 2008
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: indentation
Originally committed as revision 14911 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6fafb020
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ac3dec.c
libavcodec/ac3dec.c
+9
-9
No files found.
libavcodec/ac3dec.c
View file @
0569993e
...
@@ -776,7 +776,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
...
@@ -776,7 +776,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
if
(
get_bits1
(
gbc
))
{
if
(
get_bits1
(
gbc
))
{
memset
(
bit_alloc_stages
,
3
,
AC3_MAX_CHANNELS
);
memset
(
bit_alloc_stages
,
3
,
AC3_MAX_CHANNELS
);
if
(
!
s
->
eac3
)
if
(
!
s
->
eac3
)
s
->
cpl_in_use
[
blk
]
=
get_bits1
(
gbc
);
s
->
cpl_in_use
[
blk
]
=
get_bits1
(
gbc
);
if
(
s
->
cpl_in_use
[
blk
])
{
if
(
s
->
cpl_in_use
[
blk
])
{
/* coupling in use */
/* coupling in use */
int
cpl_begin_freq
,
cpl_end_freq
;
int
cpl_begin_freq
,
cpl_end_freq
;
...
@@ -798,8 +798,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
...
@@ -798,8 +798,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
s
->
channel_in_cpl
[
1
]
=
1
;
s
->
channel_in_cpl
[
1
]
=
1
;
s
->
channel_in_cpl
[
2
]
=
1
;
s
->
channel_in_cpl
[
2
]
=
1
;
}
else
{
}
else
{
for
(
ch
=
1
;
ch
<=
fbw_channels
;
ch
++
)
for
(
ch
=
1
;
ch
<=
fbw_channels
;
ch
++
)
s
->
channel_in_cpl
[
ch
]
=
get_bits1
(
gbc
);
s
->
channel_in_cpl
[
ch
]
=
get_bits1
(
gbc
);
}
}
/* phase flags in use */
/* phase flags in use */
...
@@ -820,7 +820,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
...
@@ -820,7 +820,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
/* coupling band structure */
/* coupling band structure */
if
(
!
s
->
eac3
||
get_bits1
(
gbc
))
{
if
(
!
s
->
eac3
||
get_bits1
(
gbc
))
{
for
(
bnd
=
0
;
bnd
<
s
->
num_cpl_subbands
-
1
;
bnd
++
)
{
for
(
bnd
=
0
;
bnd
<
s
->
num_cpl_subbands
-
1
;
bnd
++
)
{
s
->
cpl_band_struct
[
bnd
]
=
get_bits1
(
gbc
);
s
->
cpl_band_struct
[
bnd
]
=
get_bits1
(
gbc
);
}
}
}
else
if
(
!
blk
)
{
}
else
if
(
!
blk
)
{
...
@@ -842,11 +842,11 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
...
@@ -842,11 +842,11 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
}
}
}
else
if
(
!
s
->
eac3
)
{
}
else
if
(
!
s
->
eac3
)
{
if
(
!
blk
)
{
if
(
!
blk
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"new coupling strategy must be present in block 0
\n
"
);
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"new coupling strategy must be present in block 0
\n
"
);
return
-
1
;
return
-
1
;
}
else
{
}
else
{
s
->
cpl_in_use
[
blk
]
=
s
->
cpl_in_use
[
blk
-
1
];
s
->
cpl_in_use
[
blk
]
=
s
->
cpl_in_use
[
blk
-
1
];
}
}
}
}
cpl_in_use
=
s
->
cpl_in_use
[
blk
];
cpl_in_use
=
s
->
cpl_in_use
[
blk
];
...
...
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