mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-10 09:09:50 +00:00
vp9: make above buffer pointer 32-byte aligned.
Fixes ticket #4383
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 1fd1f58bd6
)
This commit is contained in:
parent
491c4bbb38
commit
f3b8cd7481
@ -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,
|
for (x = 0; x < end_x; x += uvstep1d, ptr += 4 * uvstep1d,
|
||||||
ptr_r += 4 * uvstep1d, n += step) {
|
ptr_r += 4 * uvstep1d, n += step) {
|
||||||
int mode = b->uvmode;
|
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];
|
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,
|
mode = check_intra_mode(s, mode, &a, ptr_r,
|
||||||
|
Loading…
Reference in New Issue
Block a user