diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-30 21:08:41 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-30 21:08:41 +0000 |
commit | ceaaf78bb758396657a77811a3c38478843afad0 (patch) | |
tree | 10aa937648a23fe3b5086f8c4e9c2393b6090ab2 /libavcodec/msmpeg4.c | |
parent | 2d80ce2bdf8241ff67e00118ef00d47e7f0dbb5d (diff) | |
download | ffmpeg-streaming-ceaaf78bb758396657a77811a3c38478843afad0.zip ffmpeg-streaming-ceaaf78bb758396657a77811a3c38478843afad0.tar.gz |
Change init_vlc_rl() so it does not use *alloc_static() anymore.
Originally committed as revision 13567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r-- | libavcodec/msmpeg4.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index ce3756b..efe5344 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -1063,8 +1063,13 @@ int ff_msmpeg4_decode_init(MpegEncContext *s) for(i=0;i<NB_RL_TABLES;i++) { init_rl(&rl_table[i], static_rl_table_store[i]); - init_vlc_rl(&rl_table[i], 1); } + INIT_VLC_RL(rl_table[0], 642); + INIT_VLC_RL(rl_table[1], 1104); + INIT_VLC_RL(rl_table[2], 554); + INIT_VLC_RL(rl_table[3], 940); + INIT_VLC_RL(rl_table[4], 962); + INIT_VLC_RL(rl_table[5], 554); for(i=0;i<2;i++) { mv = &mv_tables[i]; init_vlc(&mv->vlc, MV_VLC_BITS, mv->n + 1, |