Bug 1313518- Handle width alignment of 32 r=nical

This commit is contained in:
Sotaro Ikeda 2016-10-30 19:40:35 -07:00
parent 3a59c31923
commit 13f68529db

View File

@ -89,7 +89,7 @@ CreateSourceSurfaceFromLockedMacIOSurface(MacIOSurface* aSurface)
libyuv::ConvertToARGB((uint8_t*)aSurface->GetBaseAddress(), 0 /* not used */,
mappedSurface.mData, mappedSurface.mStride,
0, 0,
size.width, size.height,
ALIGNED_32(size.width), size.height,
size.width, size.height,
libyuv::kRotate0, libyuv::FOURCC_UYVY);
} else {