aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorIndrajit Das <[email protected]>2015-10-15 15:42:43 +0530
committerChristian König <[email protected]>2015-10-19 09:47:24 +0200
commit381c17d695b39f9ab501f5aa5a3cc42c8519ac3b (patch)
treefe4b9d9a12bc660bc216e8f99ae860733d2a30d6 /src/gallium
parent36c93e96590b39362bb0159f5f55f1ad1db5e145 (diff)
st/va: Used correct parameter to derive the value of the "h" variable in vlVaCreateImage
Cc: "11.0" <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/va/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/image.c b/src/gallium/state_trackers/va/image.c
index 022240df84f..3b36430541e 100644
--- a/src/gallium/state_trackers/va/image.c
+++ b/src/gallium/state_trackers/va/image.c
@@ -116,7 +116,7 @@ vlVaCreateImage(VADriverContextP ctx, VAImageFormat *format, int width, int heig
img->width = width;
img->height = height;
w = align(width, 2);
- h = align(width, 2);
+ h = align(height, 2);
switch (format->fourcc) {
case VA_FOURCC('N','V','1','2'):