st/vdpau: don't re-allocate interlaced buffer with packed YUV format
authorLeo Liu <leo.liu@amd.com>
Sun, 1 Oct 2017 02:19:49 +0000 (22:19 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 4 Oct 2017 13:22:33 +0000 (09:22 -0400)
commit327480d10f2dab52de28e9a84609fac81c2034c5
treeba976384b8221d8fbb570c94afd240b77e5508f2
parentae61fe4982acf1ba86419beaf757f5f099656a53
st/vdpau: don't re-allocate interlaced buffer with packed YUV format

It caused corruption, when vlVdpVideoSurfacePutBitsYCbCr putting YUV to the fields

Cc: mesa-stable@lists.freedesktop.org
Cc: Andy Furniss <adf.lists@gmail.com>
Tested-by: Andy Furniss <adf.lists@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/surface.c