summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-05-02 09:02:15 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-05-02 09:02:15 -0300
commit750b7fc24921cc90350f9fcb3eab4edbaeeb5965 (patch)
tree724b0e151db9e1c86d9f96769194fa14ded9bb40 /linux/drivers/media
parent9a31a0d73f490c724252a18e59a5313561380c8c (diff)
downloadmediapointer-dvb-s2-750b7fc24921cc90350f9fcb3eab4edbaeeb5965.tar.gz
mediapointer-dvb-s2-750b7fc24921cc90350f9fcb3eab4edbaeeb5965.tar.bz2
Pwc-dec23 oops fix
From: akpm@osdl.org <akpm@osdl.org> 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 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/pwc/pwc-dec23.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-dec23.c b/linux/drivers/media/video/pwc/pwc-dec23.c
index f9096c72c..39eaf5839 100644
--- a/linux/drivers/media/video/pwc/pwc-dec23.c
+++ b/linux/drivers/media/video/pwc/pwc-dec23.c
@@ -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 {