diff options
author | Indrajit Das <indrajit-kumar.das@amd.com> | 2015-10-15 15:42:43 +0530 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-10-21 14:23:22 +0100 |
commit | b91ed628c1b2f8296986d36f1ccbce75b171c900 (patch) | |
tree | 8abc9b0edaf2b6e9da2a3da124414659130004fd | |
parent | 141109cc529b3a5d71c0023ad5c19c8844c05171 (diff) |
st/va: Used correct parameter to derive the value of the "h" variable in vlVaCreateImage
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit 381c17d695b39f9ab501f5aa5a3cc42c8519ac3b)
-rw-r--r-- | src/gallium/state_trackers/va/image.c | 2 |
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 022240df84..3b36430541 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'): |