---
 libavcodec/alac.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 915b7eb..23f437f 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -198,7 +198,6 @@ static void predictor_decompress_fir_adapt(int32_t 
*error_buffer,
     }
 
     /* read warm-up samples */
-    if (predictor_coef_num > 0)
         for (i = 0; i < predictor_coef_num; i++) {
             int32_t val;
 
@@ -210,7 +209,6 @@ static void predictor_decompress_fir_adapt(int32_t 
*error_buffer,
     /* NOTE: 4 and 8 are very common cases that could be optimized. */
 
     /* general case */
-    if (predictor_coef_num > 0) {
         for (i = predictor_coef_num + 1; i < output_size; i++) {
             int j;
             int sum = 0;
@@ -265,7 +263,6 @@ static void predictor_decompress_fir_adapt(int32_t 
*error_buffer,
 
             buffer_out++;
         }
-    }
 }
 
 static void decorrelate_stereo(int32_t *buffer[MAX_CHANNELS],
-- 
1.7.1

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to