st/vdpau: use vl_video_buffer_adjust_size
authorChristian König <christian.koenig@amd.com>
Tue, 15 Dec 2015 10:53:48 +0000 (11:53 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 12 Jan 2016 12:28:21 +0000 (13:28 +0100)
commitda3963776421af4718809812b789f6722d5180d0
tree2ab84c74c7c7db7f43496d5037f9acba9a138ecc
parent52ca9a9b8bf9c3991a82d7039d7a35955ad774b8
st/vdpau: use vl_video_buffer_adjust_size

Use the new helper function instead of open coding it.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/vdpau/surface.c