[FFmpeg-devel] [PATCH] avcodec: Instruct users to align buffers to 32-byte.
Kieran Kunhya
kierank at obe.tv
Sun Aug 10 05:17:09 CEST 2014
The Opus decoder in particular uses optimised float_dsp functions that expect 32-byte alignment
---
libavcodec/avcodec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 93aad35..5cbc175 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1880,7 +1880,7 @@ typedef struct AVCodecContext {
* avcodec_default_get_buffer() instead of providing buffers allocated by
* some other means.
*
- * AVFrame.data[] should be 32- or 16-byte-aligned unless the CPU doesn't
+ * AVFrame.data[] should be 32-byte-aligned unless the CPU doesn't
* need it. avcodec_default_get_buffer() aligns the output buffer properly,
* but if get_buffer() is overridden then alignment considerations should
* be taken into account.
--
1.7.9.5
More information about the ffmpeg-devel
mailing list