mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
minor tweak for vc++
This commit is contained in:
@@ -3980,7 +3980,7 @@ void precompute_partition_info_sums_(
|
|||||||
partition_samples -= predictor_order;
|
partition_samples -= predictor_order;
|
||||||
abs_residual_partition_sum = 0;
|
abs_residual_partition_sum = 0;
|
||||||
for(partition_sample = 0; partition_sample < partition_samples; partition_sample++, residual_sample++) {
|
for(partition_sample = 0; partition_sample < partition_samples; partition_sample++, residual_sample++) {
|
||||||
#if defined _MSC_VER && _MSC_VER <= 1200
|
#if defined _MSC_VER
|
||||||
/* OPT: abs() may be faster for some compilers */
|
/* OPT: abs() may be faster for some compilers */
|
||||||
abs_residual_partition_sum += abs(residual[residual_sample]); /* abs(INT_MIN) is undefined, but if the residual is INT_MIN we have bigger problems */
|
abs_residual_partition_sum += abs(residual[residual_sample]); /* abs(INT_MIN) is undefined, but if the residual is INT_MIN we have bigger problems */
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user