Browse code

Silence warning in imc decoder

Originally committed as revision 15844 to svn://svn.ffmpeg.org/ffmpeg/trunk

Benjamin Larsson authored on 2008/11/16 19:16:07
Showing 1 changed files
... ...
@@ -143,7 +143,7 @@ static av_cold int imc_decode_init(AVCodecContext * avctx)
143 143
     /* initialize the VLC tables */
144 144
     for(i = 0; i < 4 ; i++) {
145 145
         for(j = 0; j < 4; j++) {
146
-            huffman_vlc[i][j].table = vlc_tables[vlc_offsets[i * 4 + j]];
146
+            huffman_vlc[i][j].table = &vlc_tables[vlc_offsets[i * 4 + j]];
147 147
             huffman_vlc[i][j].table_allocated = vlc_offsets[i * 4 + j + 1] - vlc_offsets[i * 4 + j];
148 148
             init_vlc(&huffman_vlc[i][j], 9, imc_huffman_sizes[i],
149 149
                      imc_huffman_lens[i][j], 1, 1,