aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc-dec23.c
diff options
context:
space:
mode:
authorakpm@osdl.org <akpm@osdl.org>2006-05-22 09:31:49 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 00:59:55 -0400
commit7923dee035ec81f6e4ad696e3edddbdd34d37873 (patch)
treeb3b4d5b3bd7719062818e8cf2a71f945db95d62c /drivers/media/video/pwc/pwc-dec23.c
parent18232ca61b4c73b849850200a5e6ec40517f35ab (diff)
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>
Diffstat (limited to 'drivers/media/video/pwc/pwc-dec23.c')
-rw-r--r--drivers/media/video/pwc/pwc-dec23.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc-dec23.c b/drivers/media/video/pwc/pwc-dec23.c
index f9096c72cbb7..39eaf58396df 100644
--- a/drivers/media/video/pwc/pwc-dec23.c
+++ b/drivers/media/video/pwc/pwc-dec23.c
@@ -882,7 +882,7 @@ void pwc_dec23_decompress(const struct pwc_device *pwc,
882 882
883 } 883 }
884#else 884#else
885 memcpy(dst, 0, pwc->view.x * pwc->view.y); 885 memset(dst, 0, pwc->view.x * pwc->view.y);
886#endif 886#endif
887 887
888 } else { 888 } else {