You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
alac: remove unneeded conditionals in predictor_decompress_fir_adapt()
This commit is contained in:
@@ -199,7 +199,6 @@ static void predictor_decompress_fir_adapt(int32_t *error_buffer,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* read warm-up samples */
|
/* read warm-up samples */
|
||||||
if (predictor_coef_num > 0)
|
|
||||||
for (i = 0; i < predictor_coef_num; i++) {
|
for (i = 0; i < predictor_coef_num; i++) {
|
||||||
int32_t val;
|
int32_t val;
|
||||||
|
|
||||||
@@ -211,7 +210,6 @@ static void predictor_decompress_fir_adapt(int32_t *error_buffer,
|
|||||||
/* NOTE: 4 and 8 are very common cases that could be optimized. */
|
/* NOTE: 4 and 8 are very common cases that could be optimized. */
|
||||||
|
|
||||||
/* general case */
|
/* general case */
|
||||||
if (predictor_coef_num > 0) {
|
|
||||||
for (i = predictor_coef_num + 1; i < output_size; i++) {
|
for (i = predictor_coef_num + 1; i < output_size; i++) {
|
||||||
int j;
|
int j;
|
||||||
int sum = 0;
|
int sum = 0;
|
||||||
@@ -267,7 +265,6 @@ static void predictor_decompress_fir_adapt(int32_t *error_buffer,
|
|||||||
buffer_out++;
|
buffer_out++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static void decorrelate_stereo(int32_t *buffer[MAX_CHANNELS],
|
static void decorrelate_stereo(int32_t *buffer[MAX_CHANNELS],
|
||||||
int numsamples, uint8_t interlacing_shift,
|
int numsamples, uint8_t interlacing_shift,
|
||||||
|
Reference in New Issue
Block a user