vp9: write uveob as 16-bit value for 16x16/32x32 transforms.

This fixes make fate-vp9-00-quantizer-01 THREADS=2.
pull/108/head
Ronald S. Bultje 11 years ago
parent 31f2357fd0
commit 6d69f9f376
  1. 6
      libavcodec/vp9.c

@ -2258,7 +2258,11 @@ static void decode_coeffs(AVCodecContext *ctx)
16 * step * step, c, e, p, a[x] + l[y], \ 16 * step * step, c, e, p, a[x] + l[y], \
uvscan, uvnb, uv_band_counts, qmul[1]); \ uvscan, uvnb, uv_band_counts, qmul[1]); \
a[x] = l[y] = !!res; \ a[x] = l[y] = !!res; \
s->uveob[pl][n] = res; \ if (step >= 4) { \
AV_WN16A(&s->uveob[pl][n], res); \
} else { \
s->uveob[pl][n] = res; \
} \
} \ } \
} }

Loading…
Cancel
Save