diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-04-11 13:43:09 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-04-11 13:43:09 +0000 |
commit | 2a0241ae12c7187a42dd039dc438844a63589634 (patch) | |
tree | ae420b35600e822013b9f5590750bb7210cd10da /libavcodec/4xm.c | |
parent | 5338bec6972bac8ee2ff4f3100632b9f3f08d3a8 (diff) | |
download | ffmpeg-2a0241ae12c7187a42dd039dc438844a63589634.tar.gz |
Get rid of INIT_VLC_USE_STATIC in 4xm.
Originally committed as revision 18435 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r-- | libavcodec/4xm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index a9ad1e92ab..3348ed06fd 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -237,12 +237,15 @@ static void idct(DCTELEM block[64]){ } static av_cold void init_vlcs(FourXContext *f){ + static VLC_TYPE table[8][32][2]; int i; for(i=0; i<8; i++){ + block_type_vlc[0][i].table= table[i]; + block_type_vlc[0][i].table_allocated= 32; init_vlc(&block_type_vlc[0][i], BLOCK_TYPE_VLC_BITS, 7, &block_type_tab[0][i][0][1], 2, 1, - &block_type_tab[0][i][0][0], 2, 1, INIT_VLC_USE_STATIC); + &block_type_tab[0][i][0][0], 2, 1, INIT_VLC_USE_NEW_STATIC); } } |