[FFmpeg-cvslog] vp9: make above buffer pointer 32-byte aligned.

Ronald S. Bultje git at videolan.org
Sat Mar 21 21:59:52 CET 2015


ffmpeg | branch: release/2.4 | Ronald S. Bultje <rsbultje at gmail.com> | Sat Mar 21 17:12:48 2015 -0300| [f3b8cd748168efc37ba44b292bcbfd9500bbd853] | committer: James Almer

vp9: make above buffer pointer 32-byte aligned.

Fixes ticket #4383

Signed-off-by: James Almer <jamrial at gmail.com>
(cherry picked from commit 1fd1f58bd6a58f2067a8d6b4919e1a0f34eb1f22)

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

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

diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 31725e6..2239bd6 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -2495,7 +2495,7 @@ static void intra_recon(AVCodecContext *ctx, ptrdiff_t y_off, ptrdiff_t uv_off)
             for (x = 0; x < end_x; x += uvstep1d, ptr += 4 * uvstep1d,
                                    ptr_r += 4 * uvstep1d, n += step) {
                 int mode = b->uvmode;
-                uint8_t *a = &a_buf[16];
+                uint8_t *a = &a_buf[32];
                 int eob = b->skip ? 0 : b->uvtx > TX_8X8 ? AV_RN16A(&s->uveob[p][n]) : s->uveob[p][n];
 
                 mode = check_intra_mode(s, mode, &a, ptr_r,



More information about the ffmpeg-cvslog mailing list