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
0792b873
Commit
0792b873
authored
Feb 07, 2014
by
Lukasz Marek
Committed by
Paul B Mahol
Feb 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/evrcdec: fix const misplacement
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki@gmail.com
>
parent
ec9578d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
evrcdata.h
libavcodec/evrcdata.h
+4
-4
evrcdec.c
libavcodec/evrcdec.c
+1
-1
No files found.
libavcodec/evrcdata.h
View file @
0792b873
...
@@ -1437,21 +1437,21 @@ static const float evrc_lspq_quant_codebook2[16][5] = {
...
@@ -1437,21 +1437,21 @@ static const float evrc_lspq_quant_codebook2[16][5] = {
{
0
.
22787990
,
0
.
31779197
,
0
.
33831909
,
0
.
40044111
,
0
.
41185561
},
{
0
.
22787990
,
0
.
31779197
,
0
.
33831909
,
0
.
40044111
,
0
.
41185561
},
{
0
.
27896860
,
0
.
32261974
,
0
.
35658112
,
0
.
40206763
,
0
.
42370448
}};
{
0
.
27896860
,
0
.
32261974
,
0
.
35658112
,
0
.
40206763
,
0
.
42370448
}};
static
const
float
const
*
evrc_lspq_full_codebooks
[]
=
{
static
const
float
*
const
evrc_lspq_full_codebooks
[]
=
{
evrc_lspq_full_codebook1
[
0
],
evrc_lspq_full_codebook2
[
0
],
evrc_lspq_full_codebook1
[
0
],
evrc_lspq_full_codebook2
[
0
],
evrc_lspq_full_codebook3
[
0
],
evrc_lspq_full_codebook4
[
0
],
evrc_lspq_full_codebook3
[
0
],
evrc_lspq_full_codebook4
[
0
],
};
};
static
const
float
const
*
evrc_lspq_half_codebooks
[]
=
{
static
const
float
*
const
evrc_lspq_half_codebooks
[]
=
{
evrc_lspq_half_codebook1
[
0
],
evrc_lspq_half_codebook2
[
0
],
evrc_lspq_half_codebook1
[
0
],
evrc_lspq_half_codebook2
[
0
],
evrc_lspq_half_codebook3
[
0
],
evrc_lspq_half_codebook3
[
0
],
};
};
static
const
float
const
*
evrc_lspq_quant_codebooks
[]
=
{
static
const
float
*
const
evrc_lspq_quant_codebooks
[]
=
{
evrc_lspq_quant_codebook1
[
0
],
evrc_lspq_quant_codebook2
[
0
],
evrc_lspq_quant_codebook1
[
0
],
evrc_lspq_quant_codebook2
[
0
],
};
};
static
const
float
const
*
*
evrc_lspq_codebooks
[]
=
{
static
const
float
*
const
*
evrc_lspq_codebooks
[]
=
{
0
,
0
,
evrc_lspq_quant_codebooks
,
evrc_lspq_quant_codebooks
,
0
,
0
,
...
...
libavcodec/evrcdec.c
View file @
0792b873
...
@@ -276,7 +276,7 @@ static av_cold int evrc_decode_init(AVCodecContext *avctx)
...
@@ -276,7 +276,7 @@ static av_cold int evrc_decode_init(AVCodecContext *avctx)
*/
*/
static
int
decode_lspf
(
EVRCContext
*
e
)
static
int
decode_lspf
(
EVRCContext
*
e
)
{
{
const
float
**
codebooks
=
evrc_lspq_codebooks
[
e
->
bitrate
];
const
float
*
const
*
codebooks
=
evrc_lspq_codebooks
[
e
->
bitrate
];
int
i
,
j
,
k
=
0
;
int
i
,
j
,
k
=
0
;
for
(
i
=
0
;
i
<
evrc_lspq_nb_codebooks
[
e
->
bitrate
];
i
++
)
{
for
(
i
=
0
;
i
<
evrc_lspq_nb_codebooks
[
e
->
bitrate
];
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