[FFmpeg-cvslog] avcodec/dstdec: use appropriate alignment

Peter Ross git at videolan.org
Sat Jan 12 10:39:55 EET 2019


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Mon Dec 24 20:09:18 2018 +1100| [ad0d5d7516dc3de7d1172c03920256b6a48fcd39] | committer: Peter Ross

avcodec/dstdec: use appropriate alignment

this was a typo in my original dst decoder. there is no requirement for
64-byte alignment here. the change does not affect decoder performance.

Signed-off-by: Peter Ross <pross at xvid.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad0d5d7516dc3de7d1172c03920256b6a48fcd39
---

 libavcodec/dstdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c
index 4f75bc9f37..0614c99c4b 100644
--- a/libavcodec/dstdec.c
+++ b/libavcodec/dstdec.c
@@ -70,7 +70,7 @@ typedef struct DSTContext {
     GetBitContext gb;
     ArithCoder ac;
     Table fsets, probs;
-    DECLARE_ALIGNED(64, uint8_t, status)[DST_MAX_CHANNELS][16];
+    DECLARE_ALIGNED(16, uint8_t, status)[DST_MAX_CHANNELS][16];
     DECLARE_ALIGNED(16, int16_t, filter)[DST_MAX_ELEMENTS][16][256];
     DSDContext dsdctx[DST_MAX_CHANNELS];
 } DSTContext;



More information about the ffmpeg-cvslog mailing list