1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/root/target/linux/bcm27xx/patches-5.15/950-0295-rpivid_h265-Fix-width-height-typo.patch

22 lines
636 B
Diff
Raw Normal View History

2022-04-22 15:00:47 +00:00
From fa7a92e4d08cce95cdbdc0a50d6356e1002ff971 Mon Sep 17 00:00:00 2001
2021-11-24 17:32:01 +00:00
From: popcornmix <popcornmix@gmail.com>
Date: Mon, 21 Sep 2020 14:02:44 +0100
2022-04-22 15:00:47 +00:00
Subject: [PATCH 295/828] rpivid_h265: Fix width/height typo
2021-11-24 17:32:01 +00:00
Signed-off-by: popcornmix <popcornmix@gmail.com>
---
drivers/staging/media/rpivid/rpivid_h265.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/staging/media/rpivid/rpivid_h265.c
+++ b/drivers/staging/media/rpivid/rpivid_h265.c
2022-04-22 15:00:47 +00:00
@@ -2178,7 +2178,7 @@ static int rpivid_h265_start(struct rpiv
2021-11-24 17:32:01 +00:00
if (w > 4096)
w = 4096;
if (h == 0)
- w = 1088;
+ h = 1088;
if (h > 4096)
h = 4096;
wxh = w * h;