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
cef7d701
Commit
cef7d701
authored
May 23, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aacdec: fix typo in scalefactor clipping check
parent
b51021da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
aacdec.c
libavcodec/aacdec.c
+1
-1
No files found.
libavcodec/aacdec.c
View file @
cef7d701
...
@@ -820,7 +820,7 @@ static int decode_scalefactors(AACContext *ac, float sf[120], GetBitContext *gb,
...
@@ -820,7 +820,7 @@ static int decode_scalefactors(AACContext *ac, float sf[120], GetBitContext *gb,
else
else
offset
[
1
]
+=
get_vlc2
(
gb
,
vlc_scalefactors
.
table
,
7
,
3
)
-
60
;
offset
[
1
]
+=
get_vlc2
(
gb
,
vlc_scalefactors
.
table
,
7
,
3
)
-
60
;
clipped_offset
=
av_clip
(
offset
[
1
],
-
100
,
155
);
clipped_offset
=
av_clip
(
offset
[
1
],
-
100
,
155
);
if
(
offset
[
2
]
!=
clipped_offset
)
{
if
(
offset
[
1
]
!=
clipped_offset
)
{
av_log_ask_for_sample
(
ac
->
avctx
,
"Noise gain clipped "
av_log_ask_for_sample
(
ac
->
avctx
,
"Noise gain clipped "
"(%d -> %d).
\n
If you heard an audible "
"(%d -> %d).
\n
If you heard an audible "
"artifact, there may be a bug in the decoder. "
,
"artifact, there may be a bug in the decoder. "
,
...
...
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