aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/imc.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2008-11-16 10:16:07 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2008-11-16 10:16:07 +0000
commitb836fb0060b9548d5b44fe0183f7ad25fa6f026d (patch)
treefcbe604d731036bf5d67db1b6b3df18c259831e7 /libavcodec/imc.c
parent31d5113a15ddbba386b3f78c068332ff601c290b (diff)
downloadffmpeg-b836fb0060b9548d5b44fe0183f7ad25fa6f026d.tar.gz
Silence warning in imc decoder
Originally committed as revision 15844 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imc.c')
-rw-r--r--libavcodec/imc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imc.c b/libavcodec/imc.c
index e896eed1b9..91d9febbf1 100644
--- a/libavcodec/imc.c
+++ b/libavcodec/imc.c
@@ -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,