OSDN Git Service

Silence warning in imc decoder
authorBenjamin Larsson <banan@ludd.ltu.se>
Sun, 16 Nov 2008 10:16:07 +0000 (10:16 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sun, 16 Nov 2008 10:16:07 +0000 (10:16 +0000)
Originally committed as revision 15844 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/imc.c

index e896eed..91d9feb 100644 (file)
@@ -143,7 +143,7 @@ static av_cold int imc_decode_init(AVCodecContext * avctx)
     /* initialize the VLC tables */
     for(i = 0; i < 4 ; i++) {
         for(j = 0; j < 4; j++) {
-            huffman_vlc[i][j].table = vlc_tables[vlc_offsets[i * 4 + j]];
+            huffman_vlc[i][j].table = &vlc_tables[vlc_offsets[i * 4 + j]];
             huffman_vlc[i][j].table_allocated = vlc_offsets[i * 4 + j + 1] - vlc_offsets[i * 4 + j];
             init_vlc(&huffman_vlc[i][j], 9, imc_huffman_sizes[i],
                      imc_huffman_lens[i][j], 1, 1,