提交 7923dee0 编写于 作者: A akpm@osdl.org 提交者: Mauro Carvalho Chehab

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: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 18232ca6
...@@ -882,7 +882,7 @@ void pwc_dec23_decompress(const struct pwc_device *pwc, ...@@ -882,7 +882,7 @@ void pwc_dec23_decompress(const struct pwc_device *pwc,
} }
#else #else
memcpy(dst, 0, pwc->view.x * pwc->view.y); memset(dst, 0, pwc->view.x * pwc->view.y);
#endif #endif
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册