rpivid_h265: Fix width/height typo
authorpopcornmix <popcornmix@gmail.com>
Mon, 21 Sep 2020 13:02:44 +0000 (14:02 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:06 +0000 (16:04 +0000)
Signed-off-by: popcornmix <popcornmix@gmail.com>
drivers/staging/media/rpivid/rpivid_h265.c

index 47d4de4..b677910 100644 (file)
@@ -2178,7 +2178,7 @@ static int rpivid_h265_start(struct rpivid_ctx *ctx)
        if (w > 4096)
                w = 4096;
        if (h == 0)
-               w = 1088;
+               h = 1088;
        if (h > 4096)
                h = 4096;
        wxh = w * h;