On 04/26/2011 10:07 AM, Diego Biurrun wrote:
> diff --git a/libavcodec/alac.c b/libavcodec/alac.c
> index 4ea3f7e..6a80168 100644
> --- a/libavcodec/alac.c
> +++ b/libavcodec/alac.c
> @@ -286,21 +286,6 @@ static void predictor_decompress_fir_adapt(int32_t
> *error_buffer,
> buffer_out[i+1] = val;
> }
>
> -#if 0
> - /* 4 and 8 are very common cases (the only ones i've seen). these
> - * should be unrolled and optimized
> - */
> - if (predictor_coef_num == 4) {
> - /* FIXME: optimized general case */
> - return;
> - }
> -
> - if (predictor_coef_table == 8) {
> - /* FIXME: optimized general case */
> - return;
> - }
> -#endif
> -
> /* general case */
> if (predictor_coef_num > 0) {
> for (i = predictor_coef_num + 1; i < output_size; i++) {
Keep the comment about "4 and 8 ...". ok to remove the dummy code though.
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel