st/vdpau: fix YCbCr down/up-loads for buffers larger than requested
authorChristian König <deathsimple@vodafone.de>
Wed, 6 Jun 2012 15:53:58 +0000 (17:53 +0200)
committerChristian König <deathsimple@vodafone.de>
Thu, 14 Jun 2012 15:54:04 +0000 (17:54 +0200)
commiteb024c74885778ab1ffa6dc590116959bb526c2e
tree764d8ff5e4eeeb83cd471f96a334b1000b7680e8
parentcb3054c849d8485af53da6a61b31b5c4e4eeb95d
st/vdpau: fix YCbCr down/up-loads for buffers larger than requested

When the video buffer turns out to be larger than
requested by the application we shouldn't upload
or download more data into / from it original requested.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39309
Signed-off-by: Christian König <deathsimple@vodafone.de>
src/gallium/state_trackers/vdpau/surface.c