diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-02-07 16:38:59 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2014-02-07 19:32:16 +0000 |
commit | 0792b8733570cac2a44ea856e64c54773632a086 (patch) | |
tree | ba4ecca229f6bef86eed8645551fef0423f9757f /libavcodec | |
parent | ec9578d54d09b64bf112c2bf7a34b1ef3b93dbd3 (diff) | |
download | ffmpeg-0792b8733570cac2a44ea856e64c54773632a086.tar.gz |
lavc/evrcdec: fix const misplacement
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/evrcdata.h | 8 | ||||
-rw-r--r-- | libavcodec/evrcdec.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/evrcdata.h b/libavcodec/evrcdata.h index cde1f571d8..ebcb0ac99f 100644 --- a/libavcodec/evrcdata.h +++ b/libavcodec/evrcdata.h @@ -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, diff --git a/libavcodec/evrcdec.c b/libavcodec/evrcdec.c index 51ae9e21ff..20d0fe7cd4 100644 --- a/libavcodec/evrcdec.c +++ b/libavcodec/evrcdec.c @@ -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++) { |