diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-12 15:00:04 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-11-12 15:00:04 +0000 |
commit | 18f770162b9d079f2d278a719d7684dd19d86202 (patch) | |
tree | 5c77ea1c50f73765a3378392b4d311c8543329f0 /libavcodec/svq1.c | |
parent | 92ddb69283d36a3b930fe94ab9f1b4503939b5d1 (diff) | |
download | ffmpeg-18f770162b9d079f2d278a719d7684dd19d86202.tar.gz |
* fixing some minor const warnings
Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
-rw-r--r-- | libavcodec/svq1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/svq1.c b/libavcodec/svq1.c index e5e760238f..f92a61031f 100644 --- a/libavcodec/svq1.c +++ b/libavcodec/svq1.c @@ -591,7 +591,7 @@ static vlc_code_t svq1_inter_mean_table_5[292] = { } #define SVQ1_CALC_CODEBOOK_ENTRIES(cbook)\ - codebook = (uint32_t *) cbook[level];\ + codebook = (const uint32_t *) cbook[level];\ bit_cache = get_bits (bitbuf, 4*stages);\ /* calculate codebook entries for this vector */\ for (j=0; j < stages; j++) {\ @@ -605,11 +605,11 @@ static int svq1_decode_block_intra (bit_buffer_t *bitbuf, uint8_t *pixels, int p vlc_code_t *vlc; uint8_t *list[63]; uint32_t *dst; - uint32_t *codebook; + const uint32_t *codebook; int entries[6]; int i, j, m, n; int mean, stages; - int x, y, width, height, level; + unsigned x, y, width, height, level; uint32_t n1, n2, n3, n4; /* initialize list for breadth first processing of vectors */ @@ -681,7 +681,7 @@ static int svq1_decode_block_non_intra (bit_buffer_t *bitbuf, uint8_t *pixels, i vlc_code_t *vlc; uint8_t *list[63]; uint32_t *dst; - uint32_t *codebook; + const uint32_t *codebook; int entries[6]; int i, j, m, n; int mean, stages; |