mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
22 lines
628 B
Diff
22 lines
628 B
Diff
From c8ff5702a2f40ecdd9915328a906002351c1e072 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;
|