diff --git a/.pick_status.json b/.pick_status.json index cf1b1607cca..557816f2d13 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1543,7 +1543,7 @@ "description": "vdpau: Fix wrong calloc sizeof argument.", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "65fe0866aec7b5608419f6d184cb1fa4fe1dc45a" }, diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c index 5df30ea3c08..f69c54c4536 100644 --- a/src/gallium/state_trackers/vdpau/device.c +++ b/src/gallium/state_trackers/vdpau/device.c @@ -170,7 +170,7 @@ vlVdpPresentationQueueTargetCreateX11(VdpDevice device, Drawable drawable, if (!dev) return VDP_STATUS_INVALID_HANDLE; - pqt = CALLOC(1, sizeof(vlVdpPresentationQueue)); + pqt = CALLOC(1, sizeof(vlVdpPresentationQueueTarget)); if (!pqt) return VDP_STATUS_RESOURCES;