summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xshm.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-21 00:05:16 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-21 00:05:16 +0100
commitb726e1b4ef9beaf6ba5a8ae15f15a9f818e48a3b (patch)
tree8fd56bdda807c35dcf5cd0bbe88bd151158f24d7 /src/video_out/video_out_xshm.c
parent9a34a9096f156d46176cf30270e38a32410cd116 (diff)
parentd59c3de535738d8cd5d313b5a4f5502fa0aa7081 (diff)
downloadxine-lib-b726e1b4ef9beaf6ba5a8ae15f15a9f818e48a3b.tar.gz
xine-lib-b726e1b4ef9beaf6ba5a8ae15f15a9f818e48a3b.tar.bz2
Merge from 1.1.
--HG-- rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/libxinevdec/bitplane.c => src/video_dec/bitplane.c
Diffstat (limited to 'src/video_out/video_out_xshm.c')
-rw-r--r--src/video_out/video_out_xshm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 8f51964e2..1ee1ceb8f 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -280,7 +280,7 @@ static XImage *create_ximage (xshm_driver_t *this, XShmSegmentInfo *shminfo,
this->bytes_per_pixel = this->bpp / 8;
this->image_byte_order = myimage->byte_order;
- myimage->data = xine_xcalloc (width * height, this->bytes_per_pixel);
+ myimage->data = calloc (width * height, this->bytes_per_pixel);
}
return myimage;