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
8372e3d2
Commit
8372e3d2
authored
Nov 22, 2008
by
Reynaldo H. Verdejo Pinochet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trivial, Cosmetics
Originally committed as revision 15905 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
1b321c5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
qcelpdec.c
libavcodec/qcelpdec.c
+3
-3
No files found.
libavcodec/qcelpdec.c
View file @
8372e3d2
...
@@ -176,7 +176,7 @@ static int decode_lspf(QCELPContext *q, float *lspf)
...
@@ -176,7 +176,7 @@ static int decode_lspf(QCELPContext *q, float *lspf)
*/
*/
static
int
codebook_sanity_check_for_rate_quarter
(
const
uint8_t
*
cbgain
)
static
int
codebook_sanity_check_for_rate_quarter
(
const
uint8_t
*
cbgain
)
{
{
int
i
,
prev_diff
=
0
;
int
i
,
prev_diff
=
0
;
for
(
i
=
1
;
i
<
5
;
i
++
)
for
(
i
=
1
;
i
<
5
;
i
++
)
{
{
...
@@ -186,8 +186,8 @@ static int codebook_sanity_check_for_rate_quarter(const uint8_t *cbgain)
...
@@ -186,8 +186,8 @@ static int codebook_sanity_check_for_rate_quarter(const uint8_t *cbgain)
else
if
(
FFABS
(
diff
-
prev_diff
)
>
12
)
else
if
(
FFABS
(
diff
-
prev_diff
)
>
12
)
return
-
1
;
return
-
1
;
prev_diff
=
diff
;
prev_diff
=
diff
;
}
}
return
0
;
return
0
;
}
}
/**
/**
...
...
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