Skip to content

Commit 6d69f9f

Browse files
committed
vp9: write uveob as 16-bit value for 16x16/32x32 transforms.
This fixes make fate-vp9-00-quantizer-01 THREADS=2.
1 parent 31f2357 commit 6d69f9f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libavcodec/vp9.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2258,7 +2258,11 @@ static void decode_coeffs(AVCodecContext *ctx)
22582258
16 * step * step, c, e, p, a[x] + l[y], \
22592259
uvscan, uvnb, uv_band_counts, qmul[1]); \
22602260
a[x] = l[y] = !!res; \
2261-
s->uveob[pl][n] = res; \
2261+
if (step >= 4) { \
2262+
AV_WN16A(&s->uveob[pl][n], res); \
2263+
} else { \
2264+
s->uveob[pl][n] = res; \
2265+
} \
22622266
} \
22632267
}
22642268

0 commit comments

Comments
 (0)