XvShmCreateImage creates images of wrong size for certain formats. For example,
for the format with the ID 0x41424752 (ABGR) with an image size of 320x240
pixels, it returns an image with a data size of 153600 pixels while the correct
size of such an image should be 307200 pixels. I am testing this on a ATI Radeon
9000 mobility, using the x.org "ati" driver.
Consequently applications using this format segfault.
I modified the xvinfo program to show the calculated size and the image size
returned by XvShmCreateImage. It can be found here:
*** This bug has been marked as a duplicate of 4640 ***