bcm27xx: import latest patches from the RPi foundation
[openwrt/staging/noltari.git] / target / linux / bcm27xx / patches-5.4 / 950-0969-rpivid_h265-Fix-width-height-typo.patch
1 From 3effc5ad6a017d4523158e04d2543a42def1744f Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Mon, 21 Sep 2020 14:02:44 +0100
4 Subject: [PATCH] rpivid_h265: Fix width/height typo
5
6 Signed-off-by: popcornmix <popcornmix@gmail.com>
7 ---
8 drivers/staging/media/rpivid/rpivid_h265.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/drivers/staging/media/rpivid/rpivid_h265.c
12 +++ b/drivers/staging/media/rpivid/rpivid_h265.c
13 @@ -2178,7 +2178,7 @@ static int rpivid_h265_start(struct rpiv
14 if (w > 4096)
15 w = 4096;
16 if (h == 0)
17 - w = 1088;
18 + h = 1088;
19 if (h > 4096)
20 h = 4096;
21 wxh = w * h;