diff options
author | Thomas Balling Sørensen <[email protected]> | 2010-07-20 14:25:28 +0200 |
---|---|---|
committer | Thomas Balling Sørensen <[email protected]> | 2010-07-20 14:27:06 +0200 |
commit | 725e4ada3062c80623abf51477dfdc73fe294f3f (patch) | |
tree | f9bab465a4bb2d6dc293f41024b93872308de0dc /src/gallium/state_trackers/vdpau/device.c | |
parent | c97ccc33531d4bf3f3154515317255645ada2afe (diff) |
Made some decoding function for mpeg2-decoding
Diffstat (limited to 'src/gallium/state_trackers/vdpau/device.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c index ba91e16a43f..111b15c619f 100644 --- a/src/gallium/state_trackers/vdpau/device.c +++ b/src/gallium/state_trackers/vdpau/device.c @@ -48,7 +48,7 @@ vdp_imp_device_create_x11(Display *display, int screen, VdpDevice *device, VdpGe goto no_htab; } - dev = CALLOC(0, sizeof(vlVdpDevice)); + dev = CALLOC(1, sizeof(vlVdpDevice)); if (!dev) { ret = VDP_STATUS_RESOURCES; goto no_dev; |