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
2cd718a4
Commit
2cd718a4
authored
Dec 31, 2017
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/opus: Add {} over multiline if() body
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
7dbbb75e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
opus.c
libavcodec/opus.c
+3
-2
No files found.
libavcodec/opus.c
View file @
2cd718a4
...
...
@@ -566,13 +566,14 @@ void ff_celt_bitalloc(CeltFrame *f, OpusRangeCoder *rc, int encode)
int
bits2
[
CELT_MAX_BANDS
];
/* Spread */
if
(
opus_rc_tell
(
rc
)
+
4
<=
f
->
framebits
)
if
(
opus_rc_tell
(
rc
)
+
4
<=
f
->
framebits
)
{
if
(
encode
)
ff_opus_rc_enc_cdf
(
rc
,
f
->
spread
,
ff_celt_model_spread
);
else
f
->
spread
=
ff_opus_rc_dec_cdf
(
rc
,
ff_celt_model_spread
);
else
}
else
{
f
->
spread
=
CELT_SPREAD_NORMAL
;
}
/* Initialize static allocation caps */
for
(
i
=
0
;
i
<
CELT_MAX_BANDS
;
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