aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.10/950-0333-rpivid_h265-Fix-width-height-typo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0333-rpivid_h265-Fix-width-height-typo.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.10/950-0333-rpivid_h265-Fix-width-height-typo.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0333-rpivid_h265-Fix-width-height-typo.patch b/target/linux/bcm27xx/patches-5.10/950-0333-rpivid_h265-Fix-width-height-typo.patch
new file mode 100644
index 0000000000..0aa420f744
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.10/950-0333-rpivid_h265-Fix-width-height-typo.patch
@@ -0,0 +1,21 @@
+From 283636090484d4047e38a870194c212aeb197ebd Mon Sep 17 00:00:00 2001
+From: popcornmix <popcornmix@gmail.com>
+Date: Mon, 21 Sep 2020 14:02:44 +0100
+Subject: [PATCH] rpivid_h265: Fix width/height typo
+
+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
+@@ -2178,7 +2178,7 @@ static int rpivid_h265_start(struct rpiv
+ if (w > 4096)
+ w = 4096;
+ if (h == 0)
+- w = 1088;
++ h = 1088;
+ if (h > 4096)
+ h = 4096;
+ wxh = w * h;