[FFmpeg-cvslog] cook: add const to quant_index_table of categorize()
Michael Niedermayer
git at videolan.org
Tue Feb 28 20:36:58 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Feb 28 20:07:26 2012 +0100| [bf72c0410d90ccbf9ac1eea27e12d7fdda594dd2] | committer: Michael Niedermayer
cook: add const to quant_index_table of categorize()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf72c0410d90ccbf9ac1eea27e12d7fdda594dd2
---
libavcodec/cook.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 6598790..08b51d8 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;
More information about the ffmpeg-cvslog
mailing list