| Index: source/libvpx/vpxdec.c
|
| ===================================================================
|
| --- source/libvpx/vpxdec.c (revision 293081)
|
| +++ source/libvpx/vpxdec.c (working copy)
|
| @@ -276,7 +276,8 @@
|
| const int plane = planes[i];
|
| const unsigned char *buf = img->planes[plane];
|
| const int stride = img->stride[plane];
|
| - const int w = vpx_img_plane_width(img, plane);
|
| + const int w = vpx_img_plane_width(img, plane) *
|
| + ((img->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1);
|
| const int h = vpx_img_plane_height(img, plane);
|
|
|
| for (y = 0; y < h; ++y) {
|
|
|