diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-24 09:44:51 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-24 09:44:51 +0000 |
commit | 9c3068c80eef5c6585a012ddc88438ad44faa422 (patch) | |
tree | 8d5ad15e0870f743e13fcdc5f18c587b62537d2f | |
parent | 0efbd068e72ecfdcd4b1088f8daf35fb703fb4ea (diff) | |
download | ffmpeg-9c3068c80eef5c6585a012ddc88438ad44faa422.tar.gz |
Use INIT_VLC_STATIC where easily possible in svq1dec
Originally committed as revision 20009 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/svq1dec.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index 1bbda43eb6..0f4205ec1f 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -780,13 +780,13 @@ static av_cold int svq1_decode_init(AVCodecContext *avctx) s->flags= avctx->flags; if (MPV_common_init(s) < 0) return -1; - init_vlc(&svq1_block_type, 2, 4, + INIT_VLC_STATIC(&svq1_block_type, 2, 4, &ff_svq1_block_type_vlc[0][1], 2, 1, - &ff_svq1_block_type_vlc[0][0], 2, 1, INIT_VLC_USE_STATIC); + &ff_svq1_block_type_vlc[0][0], 2, 1, 6); - init_vlc(&svq1_motion_component, 7, 33, + INIT_VLC_STATIC(&svq1_motion_component, 7, 33, &mvtab[0][1], 2, 1, - &mvtab[0][0], 2, 1, INIT_VLC_USE_STATIC); + &mvtab[0][0], 2, 1, 176); for (i = 0; i < 6; i++) { init_vlc(&svq1_intra_multistage[i], 3, 8, @@ -797,13 +797,13 @@ static av_cold int svq1_decode_init(AVCodecContext *avctx) &ff_svq1_inter_multistage_vlc[i][0][0], 2, 1, INIT_VLC_USE_STATIC); } - init_vlc(&svq1_intra_mean, 8, 256, + INIT_VLC_STATIC(&svq1_intra_mean, 8, 256, &ff_svq1_intra_mean_vlc[0][1], 4, 2, - &ff_svq1_intra_mean_vlc[0][0], 4, 2, INIT_VLC_USE_STATIC); + &ff_svq1_intra_mean_vlc[0][0], 4, 2, 632); - init_vlc(&svq1_inter_mean, 9, 512, + INIT_VLC_STATIC(&svq1_inter_mean, 9, 512, &ff_svq1_inter_mean_vlc[0][1], 4, 2, - &ff_svq1_inter_mean_vlc[0][0], 4, 2, INIT_VLC_USE_STATIC); + &ff_svq1_inter_mean_vlc[0][0], 4, 2, 1434); return 0; } |