mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
lavc/evrcdec: fix const misplacement
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
This commit is contained in:
parent
ec9578d54d
commit
0792b87335
@ -1437,21 +1437,21 @@ static const float evrc_lspq_quant_codebook2[16][5] = {
|
||||
{0.22787990, 0.31779197, 0.33831909, 0.40044111, 0.41185561},
|
||||
{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_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_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],
|
||||
};
|
||||
|
||||
static const float const **evrc_lspq_codebooks[] = {
|
||||
static const float * const *evrc_lspq_codebooks[] = {
|
||||
0,
|
||||
evrc_lspq_quant_codebooks,
|
||||
0,
|
||||
|
@ -276,7 +276,7 @@ static av_cold int evrc_decode_init(AVCodecContext *avctx)
|
||||
*/
|
||||
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;
|
||||
|
||||
for (i = 0; i < evrc_lspq_nb_codebooks[e->bitrate]; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user