comparison atrac3.c @ 9667:6f80791c9195 libavcodec

Indent
author banan
date Sun, 17 May 2009 16:13:03 +0000
parents c80df3181479
children 29cedcc646fe
comparison
equal deleted inserted replaced
9666:c80df3181479 9667:6f80791c9195
1024 return AVERROR(ENOMEM); 1024 return AVERROR(ENOMEM);
1025 1025
1026 1026
1027 /* Initialize the VLC tables. */ 1027 /* Initialize the VLC tables. */
1028 if (!vlcs_initialized) { 1028 if (!vlcs_initialized) {
1029 for (i=0 ; i<7 ; i++) { 1029 for (i=0 ; i<7 ; i++) {
1030 spectral_coeff_tab[i].table = &atrac3_vlc_table[atrac3_vlc_offs[i]]; 1030 spectral_coeff_tab[i].table = &atrac3_vlc_table[atrac3_vlc_offs[i]];
1031 spectral_coeff_tab[i].table_allocated = atrac3_vlc_offs[i + 1] - atrac3_vlc_offs[i]; 1031 spectral_coeff_tab[i].table_allocated = atrac3_vlc_offs[i + 1] - atrac3_vlc_offs[i];
1032 init_vlc (&spectral_coeff_tab[i], 9, huff_tab_sizes[i], 1032 init_vlc (&spectral_coeff_tab[i], 9, huff_tab_sizes[i],
1033 huff_bits[i], 1, 1, 1033 huff_bits[i], 1, 1,
1034 huff_codes[i], 1, 1, INIT_VLC_USE_NEW_STATIC); 1034 huff_codes[i], 1, 1, INIT_VLC_USE_NEW_STATIC);
1035 } 1035 }
1036 vlcs_initialized = 1; 1036 vlcs_initialized = 1;
1037 } 1037 }
1038 1038
1039 init_atrac3_transforms(q); 1039 init_atrac3_transforms(q);
1040 1040