mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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>
This commit is contained in:
parent
36c93e9659
commit
381c17d695
1 changed files with 1 additions and 1 deletions
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue