Originally committed as revision 18430 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -242,7 +242,7 @@ static av_cold void init_vlcs(FourXContext *f){
|
| 242 | 242 |
for(i=0; i<8; i++){
|
| 243 | 243 |
init_vlc(&block_type_vlc[0][i], BLOCK_TYPE_VLC_BITS, 7, |
| 244 | 244 |
&block_type_tab[0][i][0][1], 2, 1, |
| 245 |
- &block_type_tab[0][i][0][0], 2, 1, 1); |
|
| 245 |
+ &block_type_tab[0][i][0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 246 | 246 |
} |
| 247 | 247 |
} |
| 248 | 248 |
|
| ... | ... |
@@ -121,19 +121,19 @@ static av_cold void init_vlcs(ASV1Context *a){
|
| 121 | 121 |
|
| 122 | 122 |
init_vlc(&ccp_vlc, VLC_BITS, 17, |
| 123 | 123 |
&ccp_tab[0][1], 2, 1, |
| 124 |
- &ccp_tab[0][0], 2, 1, 1); |
|
| 124 |
+ &ccp_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 125 | 125 |
init_vlc(&dc_ccp_vlc, VLC_BITS, 8, |
| 126 | 126 |
&dc_ccp_tab[0][1], 2, 1, |
| 127 |
- &dc_ccp_tab[0][0], 2, 1, 1); |
|
| 127 |
+ &dc_ccp_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 128 | 128 |
init_vlc(&ac_ccp_vlc, VLC_BITS, 16, |
| 129 | 129 |
&ac_ccp_tab[0][1], 2, 1, |
| 130 |
- &ac_ccp_tab[0][0], 2, 1, 1); |
|
| 130 |
+ &ac_ccp_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 131 | 131 |
init_vlc(&level_vlc, VLC_BITS, 7, |
| 132 | 132 |
&level_tab[0][1], 2, 1, |
| 133 |
- &level_tab[0][0], 2, 1, 1); |
|
| 133 |
+ &level_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 134 | 134 |
init_vlc(&asv2_level_vlc, ASV2_LEVEL_VLC_BITS, 63, |
| 135 | 135 |
&asv2_level_tab[0][1], 2, 1, |
| 136 |
- &asv2_level_tab[0][0], 2, 1, 1); |
|
| 136 |
+ &asv2_level_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 137 | 137 |
} |
| 138 | 138 |
} |
| 139 | 139 |
|
| ... | ... |
@@ -264,19 +264,19 @@ static av_cold void dca_init_vlcs(void) |
| 264 | 264 |
for (i = 0; i < 5; i++) |
| 265 | 265 |
init_vlc(&dca_bitalloc_index.vlc[i], bitalloc_12_vlc_bits[i], 12, |
| 266 | 266 |
bitalloc_12_bits[i], 1, 1, |
| 267 |
- bitalloc_12_codes[i], 2, 2, 1); |
|
| 267 |
+ bitalloc_12_codes[i], 2, 2, INIT_VLC_USE_STATIC); |
|
| 268 | 268 |
dca_scalefactor.offset = -64; |
| 269 | 269 |
dca_scalefactor.wrap = 2; |
| 270 | 270 |
for (i = 0; i < 5; i++) |
| 271 | 271 |
init_vlc(&dca_scalefactor.vlc[i], SCALES_VLC_BITS, 129, |
| 272 | 272 |
scales_bits[i], 1, 1, |
| 273 |
- scales_codes[i], 2, 2, 1); |
|
| 273 |
+ scales_codes[i], 2, 2, INIT_VLC_USE_STATIC); |
|
| 274 | 274 |
dca_tmode.offset = 0; |
| 275 | 275 |
dca_tmode.wrap = 1; |
| 276 | 276 |
for (i = 0; i < 4; i++) |
| 277 | 277 |
init_vlc(&dca_tmode.vlc[i], tmode_vlc_bits[i], 4, |
| 278 | 278 |
tmode_bits[i], 1, 1, |
| 279 |
- tmode_codes[i], 2, 2, 1); |
|
| 279 |
+ tmode_codes[i], 2, 2, INIT_VLC_USE_STATIC); |
|
| 280 | 280 |
|
| 281 | 281 |
for(i = 0; i < 10; i++) |
| 282 | 282 |
for(j = 0; j < 7; j++){
|
| ... | ... |
@@ -286,7 +286,7 @@ static av_cold void dca_init_vlcs(void) |
| 286 | 286 |
init_vlc(&dca_smpl_bitalloc[i+1].vlc[j], bitalloc_maxbits[i][j], |
| 287 | 287 |
bitalloc_sizes[i], |
| 288 | 288 |
bitalloc_bits[i][j], 1, 1, |
| 289 |
- bitalloc_codes[i][j], 2, 2, 1); |
|
| 289 |
+ bitalloc_codes[i][j], 2, 2, INIT_VLC_USE_STATIC); |
|
| 290 | 290 |
} |
| 291 | 291 |
vlcs_initialized = 1; |
| 292 | 292 |
} |
| ... | ... |
@@ -55,16 +55,16 @@ static av_cold void h261_decode_init_vlc(H261Context *h){
|
| 55 | 55 |
done = 1; |
| 56 | 56 |
init_vlc(&h261_mba_vlc, H261_MBA_VLC_BITS, 35, |
| 57 | 57 |
h261_mba_bits, 1, 1, |
| 58 |
- h261_mba_code, 1, 1, 1); |
|
| 58 |
+ h261_mba_code, 1, 1, INIT_VLC_USE_STATIC); |
|
| 59 | 59 |
init_vlc(&h261_mtype_vlc, H261_MTYPE_VLC_BITS, 10, |
| 60 | 60 |
h261_mtype_bits, 1, 1, |
| 61 |
- h261_mtype_code, 1, 1, 1); |
|
| 61 |
+ h261_mtype_code, 1, 1, INIT_VLC_USE_STATIC); |
|
| 62 | 62 |
init_vlc(&h261_mv_vlc, H261_MV_VLC_BITS, 17, |
| 63 | 63 |
&h261_mv_tab[0][1], 2, 1, |
| 64 |
- &h261_mv_tab[0][0], 2, 1, 1); |
|
| 64 |
+ &h261_mv_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 65 | 65 |
init_vlc(&h261_cbp_vlc, H261_CBP_VLC_BITS, 63, |
| 66 | 66 |
&h261_cbp_tab[0][1], 2, 1, |
| 67 |
- &h261_cbp_tab[0][0], 2, 1, 1); |
|
| 67 |
+ &h261_cbp_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 68 | 68 |
init_rl(&h261_rl_tcoeff, ff_h261_rl_table_store); |
| 69 | 69 |
INIT_VLC_RL(h261_rl_tcoeff, 552); |
| 70 | 70 |
} |
| ... | ... |
@@ -50,7 +50,7 @@ static av_cold void x8_vlc_init(void){
|
| 50 | 50 |
AC_VLC_BITS,77, \ |
| 51 | 51 |
&src[1],4,2, \ |
| 52 | 52 |
&src[0],4,2, \ |
| 53 |
- 1) |
|
| 53 |
+ INIT_VLC_USE_STATIC) |
|
| 54 | 54 |
//set ac tables |
| 55 | 55 |
for(i=0;i<8;i++){
|
| 56 | 56 |
init_ac_vlc( j_ac_vlc[0][0][i], x8_ac0_highquant_table[i][0] ); |
| ... | ... |
@@ -79,7 +79,7 @@ static av_cold void x8_vlc_init(void){
|
| 79 | 79 |
OR_VLC_BITS,12, \ |
| 80 | 80 |
&src[1],4,2, \ |
| 81 | 81 |
&src[0],4,2, \ |
| 82 |
- 1); |
|
| 82 |
+ INIT_VLC_USE_STATIC); |
|
| 83 | 83 |
for(i=0;i<2;i++){
|
| 84 | 84 |
init_or_vlc( j_orient_vlc[0][i], x8_orient_highquant_table[i][0]); |
| 85 | 85 |
} |
| ... | ... |
@@ -1074,62 +1074,62 @@ av_cold int ff_msmpeg4_decode_init(MpegEncContext *s) |
| 1074 | 1074 |
mv = &mv_tables[i]; |
| 1075 | 1075 |
init_vlc(&mv->vlc, MV_VLC_BITS, mv->n + 1, |
| 1076 | 1076 |
mv->table_mv_bits, 1, 1, |
| 1077 |
- mv->table_mv_code, 2, 2, 1); |
|
| 1077 |
+ mv->table_mv_code, 2, 2, INIT_VLC_USE_STATIC); |
|
| 1078 | 1078 |
} |
| 1079 | 1079 |
|
| 1080 | 1080 |
init_vlc(&ff_msmp4_dc_luma_vlc[0], DC_VLC_BITS, 120, |
| 1081 | 1081 |
&ff_table0_dc_lum[0][1], 8, 4, |
| 1082 |
- &ff_table0_dc_lum[0][0], 8, 4, 1); |
|
| 1082 |
+ &ff_table0_dc_lum[0][0], 8, 4, INIT_VLC_USE_STATIC); |
|
| 1083 | 1083 |
init_vlc(&ff_msmp4_dc_chroma_vlc[0], DC_VLC_BITS, 120, |
| 1084 | 1084 |
&ff_table0_dc_chroma[0][1], 8, 4, |
| 1085 |
- &ff_table0_dc_chroma[0][0], 8, 4, 1); |
|
| 1085 |
+ &ff_table0_dc_chroma[0][0], 8, 4, INIT_VLC_USE_STATIC); |
|
| 1086 | 1086 |
init_vlc(&ff_msmp4_dc_luma_vlc[1], DC_VLC_BITS, 120, |
| 1087 | 1087 |
&ff_table1_dc_lum[0][1], 8, 4, |
| 1088 |
- &ff_table1_dc_lum[0][0], 8, 4, 1); |
|
| 1088 |
+ &ff_table1_dc_lum[0][0], 8, 4, INIT_VLC_USE_STATIC); |
|
| 1089 | 1089 |
init_vlc(&ff_msmp4_dc_chroma_vlc[1], DC_VLC_BITS, 120, |
| 1090 | 1090 |
&ff_table1_dc_chroma[0][1], 8, 4, |
| 1091 |
- &ff_table1_dc_chroma[0][0], 8, 4, 1); |
|
| 1091 |
+ &ff_table1_dc_chroma[0][0], 8, 4, INIT_VLC_USE_STATIC); |
|
| 1092 | 1092 |
|
| 1093 | 1093 |
init_vlc(&v2_dc_lum_vlc, DC_VLC_BITS, 512, |
| 1094 | 1094 |
&v2_dc_lum_table[0][1], 8, 4, |
| 1095 |
- &v2_dc_lum_table[0][0], 8, 4, 1); |
|
| 1095 |
+ &v2_dc_lum_table[0][0], 8, 4, INIT_VLC_USE_STATIC); |
|
| 1096 | 1096 |
init_vlc(&v2_dc_chroma_vlc, DC_VLC_BITS, 512, |
| 1097 | 1097 |
&v2_dc_chroma_table[0][1], 8, 4, |
| 1098 |
- &v2_dc_chroma_table[0][0], 8, 4, 1); |
|
| 1098 |
+ &v2_dc_chroma_table[0][0], 8, 4, INIT_VLC_USE_STATIC); |
|
| 1099 | 1099 |
|
| 1100 | 1100 |
init_vlc(&cbpy_vlc, CBPY_VLC_BITS, 16, |
| 1101 | 1101 |
&cbpy_tab[0][1], 2, 1, |
| 1102 |
- &cbpy_tab[0][0], 2, 1, 1); |
|
| 1102 |
+ &cbpy_tab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 1103 | 1103 |
init_vlc(&v2_intra_cbpc_vlc, V2_INTRA_CBPC_VLC_BITS, 4, |
| 1104 | 1104 |
&v2_intra_cbpc[0][1], 2, 1, |
| 1105 |
- &v2_intra_cbpc[0][0], 2, 1, 1); |
|
| 1105 |
+ &v2_intra_cbpc[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 1106 | 1106 |
init_vlc(&v2_mb_type_vlc, V2_MB_TYPE_VLC_BITS, 8, |
| 1107 | 1107 |
&v2_mb_type[0][1], 2, 1, |
| 1108 |
- &v2_mb_type[0][0], 2, 1, 1); |
|
| 1108 |
+ &v2_mb_type[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 1109 | 1109 |
init_vlc(&v2_mv_vlc, V2_MV_VLC_BITS, 33, |
| 1110 | 1110 |
&mvtab[0][1], 2, 1, |
| 1111 |
- &mvtab[0][0], 2, 1, 1); |
|
| 1111 |
+ &mvtab[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 1112 | 1112 |
|
| 1113 | 1113 |
for(i=0; i<4; i++){
|
| 1114 | 1114 |
init_vlc(&ff_mb_non_intra_vlc[i], MB_NON_INTRA_VLC_BITS, 128, |
| 1115 | 1115 |
&wmv2_inter_table[i][0][1], 8, 4, |
| 1116 |
- &wmv2_inter_table[i][0][0], 8, 4, 1); //FIXME name? |
|
| 1116 |
+ &wmv2_inter_table[i][0][0], 8, 4, INIT_VLC_USE_STATIC); //FIXME name? |
|
| 1117 | 1117 |
} |
| 1118 | 1118 |
|
| 1119 | 1119 |
init_vlc(&ff_msmp4_mb_i_vlc, MB_INTRA_VLC_BITS, 64, |
| 1120 | 1120 |
&ff_msmp4_mb_i_table[0][1], 4, 2, |
| 1121 |
- &ff_msmp4_mb_i_table[0][0], 4, 2, 1); |
|
| 1121 |
+ &ff_msmp4_mb_i_table[0][0], 4, 2, INIT_VLC_USE_STATIC); |
|
| 1122 | 1122 |
|
| 1123 | 1123 |
init_vlc(&v1_intra_cbpc_vlc, V1_INTRA_CBPC_VLC_BITS, 8, |
| 1124 | 1124 |
intra_MCBPC_bits, 1, 1, |
| 1125 |
- intra_MCBPC_code, 1, 1, 1); |
|
| 1125 |
+ intra_MCBPC_code, 1, 1, INIT_VLC_USE_STATIC); |
|
| 1126 | 1126 |
init_vlc(&v1_inter_cbpc_vlc, V1_INTER_CBPC_VLC_BITS, 25, |
| 1127 | 1127 |
inter_MCBPC_bits, 1, 1, |
| 1128 |
- inter_MCBPC_code, 1, 1, 1); |
|
| 1128 |
+ inter_MCBPC_code, 1, 1, INIT_VLC_USE_STATIC); |
|
| 1129 | 1129 |
|
| 1130 | 1130 |
init_vlc(&ff_inter_intra_vlc, INTER_INTRA_VLC_BITS, 4, |
| 1131 | 1131 |
&table_inter_intra[0][1], 2, 1, |
| 1132 |
- &table_inter_intra[0][0], 2, 1, 1); |
|
| 1132 |
+ &table_inter_intra[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 1133 | 1133 |
} |
| 1134 | 1134 |
|
| 1135 | 1135 |
switch(s->msmpeg4_version){
|
| ... | ... |
@@ -586,10 +586,10 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) |
| 586 | 586 |
if (!done) {
|
| 587 | 587 |
init_vlc(&rv_dc_lum, DC_VLC_BITS, 256, |
| 588 | 588 |
rv_lum_bits, 1, 1, |
| 589 |
- rv_lum_code, 2, 2, 1); |
|
| 589 |
+ rv_lum_code, 2, 2, INIT_VLC_USE_STATIC); |
|
| 590 | 590 |
init_vlc(&rv_dc_chrom, DC_VLC_BITS, 256, |
| 591 | 591 |
rv_chrom_bits, 1, 1, |
| 592 |
- rv_chrom_code, 2, 2, 1); |
|
| 592 |
+ rv_chrom_code, 2, 2, INIT_VLC_USE_STATIC); |
|
| 593 | 593 |
done = 1; |
| 594 | 594 |
} |
| 595 | 595 |
|
| ... | ... |
@@ -782,7 +782,7 @@ static av_cold int svq1_decode_init(AVCodecContext *avctx) |
| 782 | 782 |
|
| 783 | 783 |
init_vlc(&svq1_block_type, 2, 4, |
| 784 | 784 |
&ff_svq1_block_type_vlc[0][1], 2, 1, |
| 785 |
- &ff_svq1_block_type_vlc[0][0], 2, 1, 1); |
|
| 785 |
+ &ff_svq1_block_type_vlc[0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 786 | 786 |
|
| 787 | 787 |
init_vlc(&svq1_motion_component, 7, 33, |
| 788 | 788 |
&mvtab[0][1], 2, 1, |
| ... | ... |
@@ -791,19 +791,19 @@ static av_cold int svq1_decode_init(AVCodecContext *avctx) |
| 791 | 791 |
for (i = 0; i < 6; i++) {
|
| 792 | 792 |
init_vlc(&svq1_intra_multistage[i], 3, 8, |
| 793 | 793 |
&ff_svq1_intra_multistage_vlc[i][0][1], 2, 1, |
| 794 |
- &ff_svq1_intra_multistage_vlc[i][0][0], 2, 1, 1); |
|
| 794 |
+ &ff_svq1_intra_multistage_vlc[i][0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 795 | 795 |
init_vlc(&svq1_inter_multistage[i], 3, 8, |
| 796 | 796 |
&ff_svq1_inter_multistage_vlc[i][0][1], 2, 1, |
| 797 |
- &ff_svq1_inter_multistage_vlc[i][0][0], 2, 1, 1); |
|
| 797 |
+ &ff_svq1_inter_multistage_vlc[i][0][0], 2, 1, INIT_VLC_USE_STATIC); |
|
| 798 | 798 |
} |
| 799 | 799 |
|
| 800 | 800 |
init_vlc(&svq1_intra_mean, 8, 256, |
| 801 | 801 |
&ff_svq1_intra_mean_vlc[0][1], 4, 2, |
| 802 |
- &ff_svq1_intra_mean_vlc[0][0], 4, 2, 1); |
|
| 802 |
+ &ff_svq1_intra_mean_vlc[0][0], 4, 2, INIT_VLC_USE_STATIC); |
|
| 803 | 803 |
|
| 804 | 804 |
init_vlc(&svq1_inter_mean, 9, 512, |
| 805 | 805 |
&ff_svq1_inter_mean_vlc[0][1], 4, 2, |
| 806 |
- &ff_svq1_inter_mean_vlc[0][0], 4, 2, 1); |
|
| 806 |
+ &ff_svq1_inter_mean_vlc[0][0], 4, 2, INIT_VLC_USE_STATIC); |
|
| 807 | 807 |
|
| 808 | 808 |
return 0; |
| 809 | 809 |
} |
| ... | ... |
@@ -65,47 +65,47 @@ static int vc1_init_common(VC1Context *v) |
| 65 | 65 |
done = 1; |
| 66 | 66 |
init_vlc(&ff_vc1_bfraction_vlc, VC1_BFRACTION_VLC_BITS, 23, |
| 67 | 67 |
ff_vc1_bfraction_bits, 1, 1, |
| 68 |
- ff_vc1_bfraction_codes, 1, 1, 1); |
|
| 68 |
+ ff_vc1_bfraction_codes, 1, 1, INIT_VLC_USE_STATIC); |
|
| 69 | 69 |
init_vlc(&ff_vc1_norm2_vlc, VC1_NORM2_VLC_BITS, 4, |
| 70 | 70 |
ff_vc1_norm2_bits, 1, 1, |
| 71 |
- ff_vc1_norm2_codes, 1, 1, 1); |
|
| 71 |
+ ff_vc1_norm2_codes, 1, 1, INIT_VLC_USE_STATIC); |
|
| 72 | 72 |
init_vlc(&ff_vc1_norm6_vlc, VC1_NORM6_VLC_BITS, 64, |
| 73 | 73 |
ff_vc1_norm6_bits, 1, 1, |
| 74 |
- ff_vc1_norm6_codes, 2, 2, 1); |
|
| 74 |
+ ff_vc1_norm6_codes, 2, 2, INIT_VLC_USE_STATIC); |
|
| 75 | 75 |
init_vlc(&ff_vc1_imode_vlc, VC1_IMODE_VLC_BITS, 7, |
| 76 | 76 |
ff_vc1_imode_bits, 1, 1, |
| 77 |
- ff_vc1_imode_codes, 1, 1, 1); |
|
| 77 |
+ ff_vc1_imode_codes, 1, 1, INIT_VLC_USE_STATIC); |
|
| 78 | 78 |
for (i=0; i<3; i++) |
| 79 | 79 |
{
|
| 80 | 80 |
init_vlc(&ff_vc1_ttmb_vlc[i], VC1_TTMB_VLC_BITS, 16, |
| 81 | 81 |
ff_vc1_ttmb_bits[i], 1, 1, |
| 82 |
- ff_vc1_ttmb_codes[i], 2, 2, 1); |
|
| 82 |
+ ff_vc1_ttmb_codes[i], 2, 2, INIT_VLC_USE_STATIC); |
|
| 83 | 83 |
init_vlc(&ff_vc1_ttblk_vlc[i], VC1_TTBLK_VLC_BITS, 8, |
| 84 | 84 |
ff_vc1_ttblk_bits[i], 1, 1, |
| 85 |
- ff_vc1_ttblk_codes[i], 1, 1, 1); |
|
| 85 |
+ ff_vc1_ttblk_codes[i], 1, 1, INIT_VLC_USE_STATIC); |
|
| 86 | 86 |
init_vlc(&ff_vc1_subblkpat_vlc[i], VC1_SUBBLKPAT_VLC_BITS, 15, |
| 87 | 87 |
ff_vc1_subblkpat_bits[i], 1, 1, |
| 88 |
- ff_vc1_subblkpat_codes[i], 1, 1, 1); |
|
| 88 |
+ ff_vc1_subblkpat_codes[i], 1, 1, INIT_VLC_USE_STATIC); |
|
| 89 | 89 |
} |
| 90 | 90 |
for(i=0; i<4; i++) |
| 91 | 91 |
{
|
| 92 | 92 |
init_vlc(&ff_vc1_4mv_block_pattern_vlc[i], VC1_4MV_BLOCK_PATTERN_VLC_BITS, 16, |
| 93 | 93 |
ff_vc1_4mv_block_pattern_bits[i], 1, 1, |
| 94 |
- ff_vc1_4mv_block_pattern_codes[i], 1, 1, 1); |
|
| 94 |
+ ff_vc1_4mv_block_pattern_codes[i], 1, 1, INIT_VLC_USE_STATIC); |
|
| 95 | 95 |
init_vlc(&ff_vc1_cbpcy_p_vlc[i], VC1_CBPCY_P_VLC_BITS, 64, |
| 96 | 96 |
ff_vc1_cbpcy_p_bits[i], 1, 1, |
| 97 |
- ff_vc1_cbpcy_p_codes[i], 2, 2, 1); |
|
| 97 |
+ ff_vc1_cbpcy_p_codes[i], 2, 2, INIT_VLC_USE_STATIC); |
|
| 98 | 98 |
init_vlc(&ff_vc1_mv_diff_vlc[i], VC1_MV_DIFF_VLC_BITS, 73, |
| 99 | 99 |
ff_vc1_mv_diff_bits[i], 1, 1, |
| 100 |
- ff_vc1_mv_diff_codes[i], 2, 2, 1); |
|
| 100 |
+ ff_vc1_mv_diff_codes[i], 2, 2, INIT_VLC_USE_STATIC); |
|
| 101 | 101 |
} |
| 102 | 102 |
for(i=0; i<8; i++) |
| 103 | 103 |
init_vlc(&ff_vc1_ac_coeff_table[i], AC_VLC_BITS, vc1_ac_sizes[i], |
| 104 | 104 |
&vc1_ac_tables[i][0][1], 8, 4, |
| 105 |
- &vc1_ac_tables[i][0][0], 8, 4, 1); |
|
| 105 |
+ &vc1_ac_tables[i][0][0], 8, 4, INIT_VLC_USE_STATIC); |
|
| 106 | 106 |
init_vlc(&ff_msmp4_mb_i_vlc, MB_INTRA_VLC_BITS, 64, |
| 107 | 107 |
&ff_msmp4_mb_i_table[0][1], 4, 2, |
| 108 |
- &ff_msmp4_mb_i_table[0][0], 4, 2, 1); |
|
| 108 |
+ &ff_msmp4_mb_i_table[0][0], 4, 2, INIT_VLC_USE_STATIC); |
|
| 109 | 109 |
} |
| 110 | 110 |
|
| 111 | 111 |
/* Other defaults */ |
| ... | ... |
@@ -136,7 +136,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
|
| 136 | 136 |
if(!code_vlc.table){
|
| 137 | 137 |
init_vlc(&code_vlc, CODE_VLC_BITS, 16, |
| 138 | 138 |
&code_tab[0][1], 4, 2, |
| 139 |
- &code_tab[0][0], 4, 2, 1); |
|
| 139 |
+ &code_tab[0][0], 4, 2, INIT_VLC_USE_STATIC); |
|
| 140 | 140 |
} |
| 141 | 141 |
|
| 142 | 142 |
return 0; |