diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-03-21 17:12:48 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-03-21 14:28:01 -0300 |
commit | 0edf9c69079a6c4554b15fe380232ad04ed85ada (patch) | |
tree | dab27b2a07094b7659e91c0b8aa57927e343aa46 /libavcodec/vp9.c | |
parent | b2c9cd36d34c4157af10342ad3476dd9260bbefe (diff) | |
download | ffmpeg-0edf9c69079a6c4554b15fe380232ad04ed85ada.tar.gz |
vp9: make above buffer pointer 32-byte aligned.
Fixes ticket #4383
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 1fd1f58bd6a58f2067a8d6b4919e1a0f34eb1f22)
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r-- | libavcodec/vp9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index b25409f281..970329ffe5 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -2518,7 +2518,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, |