Module: libav Branch: master Commit: bf58545aace7d14522ce4fa680c7b3ff62109a3a
Author: Anton Khirnov <an...@khirnov.net> Committer: Anton Khirnov <an...@khirnov.net> Date: Tue Aug 9 19:50:56 2016 +0200 audiodsp: fix vector_clipf documentation The x86 version processes 16 floats per iteration, so len must be a multiple of 16. --- libavcodec/audiodsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/audiodsp.h b/libavcodec/audiodsp.h index 58205a1..e48cdb0 100644 --- a/libavcodec/audiodsp.h +++ b/libavcodec/audiodsp.h @@ -45,7 +45,7 @@ typedef struct AudioDSPContext { */ void (*vector_clip_int32)(int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len); - /* assume len is a multiple of 8, and arrays are 16-byte aligned */ + /* assume len is a multiple of 16, and arrays are 16-byte aligned */ void (*vector_clipf)(float *dst /* align 16 */, const float *src /* align 16 */, float min, float max, int len /* align 16 */); _______________________________________________ libav-commits mailing list libav-commits@libav.org https://lists.libav.org/mailman/listinfo/libav-commits