mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
V4L/DVB (3967): Pwc-dec23 oops fix
drivers/media/video/pwc/pwc-dec23.c: In function `pwc_dec23_decompress': drivers/media/video/pwc/pwc-dec23.c:885: warning: null argument where non-null required (arg 2) Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
18232ca61b
commit
7923dee035
@ -882,7 +882,7 @@ void pwc_dec23_decompress(const struct pwc_device *pwc,
|
||||
|
||||
}
|
||||
#else
|
||||
memcpy(dst, 0, pwc->view.x * pwc->view.y);
|
||||
memset(dst, 0, pwc->view.x * pwc->view.y);
|
||||
#endif
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user