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-Tag: upstream/17.1.0~15256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=381c17d695b39f9ab501f5aa5a3cc42c8519ac3b;p=platform%2Fupstream%2Fmesa.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 022240d..3b36430 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'):