From: Indrajit Das Date: Thu, 15 Oct 2015 10:12:43 +0000 (+0530) Subject: st/va: Used correct parameter to derive the value of the "h" variable in vlVaCreateImage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=381c17d695b39f9ab501f5aa5a3cc42c8519ac3b;p=mesa.git st/va: Used correct parameter to derive the value of the "h" variable in vlVaCreateImage Cc: "11.0" Reviewed-by: Christian König Reviewed-by: Emil Velikov --- 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'):