mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix build bustage for bug 868405, CLOSED TREE
This commit is contained in:
parent
5ad38a5e7e
commit
74df85b5c7
@ -807,7 +807,8 @@ void MediaPipelineTransmit::PipelineListener::ProcessVideoChunk(
|
|||||||
|
|
||||||
// Send a black image.
|
// Send a black image.
|
||||||
nsAutoArrayPtr<uint8_t> pixelData;
|
nsAutoArrayPtr<uint8_t> pixelData;
|
||||||
pixelData = new (fallible_t()) uint8_t[length];
|
static const fallible_t fallible = fallible_t();
|
||||||
|
pixelData = new (fallible) uint8_t[length];
|
||||||
if (pixelData) {
|
if (pixelData) {
|
||||||
memset(pixelData, 0x10, yPlaneLen);
|
memset(pixelData, 0x10, yPlaneLen);
|
||||||
// Fill Cb/Cr planes
|
// Fill Cb/Cr planes
|
||||||
|
Loading…
Reference in New Issue
Block a user