printf("exp_diff=%d\n", exp_diff);
av_log(AV_LOG_DEBUG, "exp_diff=%d\n", exp_diff);
static void compute_exp_strategy(uint8_t exp_strategy[NB_BLOCKS][AC3_MAX_CHANNELS],                                 uint8_t exp[NB_BLOCKS][AC3_MAX_CHANNELS][N/2],                                 int ch, int is_lfe){    int i, j;    int exp_diff;        /* estimate if the exponent variation & decide if they should be       reused in the next frame */    exp_strategy[0][ch] = EXP_NEW;    for(i=1;i<NB_BLOCKS;i++) {        exp_diff = calc_exp_diff(exp[i][ch], exp[i-1][ch], N/2);#ifdef DEBUG                    printf("exp_diff=%d\n", exp_diff);#endif        if (exp_diff > EXP_DIFF_THRESHOLD)            exp_strategy[i][ch] = EXP_NEW;        else            exp_strategy[i][ch] = EXP_REUSE;    }    if (is_lfe)	return;    /* now select the encoding strategy type : if exponents are often       recoded, we use a coarse encoding */    i = 0;    while (i < NB_BLOCKS) {        j = i + 1;        while (j < NB_BLOCKS && exp_strategy[j][ch] == EXP_REUSE)            j++;        switch(j - i) {        case 1:            exp_strategy[i][ch] = EXP_D45;            break;        case 2:        case 3:            exp_strategy[i][ch] = EXP_D25;            break;        default:            exp_strategy[i][ch] = EXP_D15;            break;        }	i = j;    }}