diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-28 20:07:26 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-28 20:07:49 +0100 |
commit | bf72c0410d90ccbf9ac1eea27e12d7fdda594dd2 (patch) | |
tree | f031ba6592671682650ba675c226edcfcb9d986a /libavcodec/cook.c | |
parent | 4f5d1468f55eb87bce84845c4e62242c791268f5 (diff) | |
download | ffmpeg-bf72c0410d90ccbf9ac1eea27e12d7fdda594dd2.tar.gz |
cook: add const to quant_index_table of categorize()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r-- | libavcodec/cook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 6598790877..08b51d813b 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -399,7 +399,7 @@ static void decode_envelope(COOKContext *q, COOKSubpacket *p, * @param category pointer to the category array * @param category_index pointer to the category_index array */ -static void categorize(COOKContext *q, COOKSubpacket *p, int *quant_index_table, +static void categorize(COOKContext *q, COOKSubpacket *p, const int *quant_index_table, int *category, int *category_index) { int exp_idx, bias, tmpbias1, tmpbias2, bits_left, num_bits, index, v, i, j; |