Skip to content

Commit

Permalink
V4L/DVB (3967): Pwc-dec23 oops fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akpm@osdl.org authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent 18232ca commit 7923dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/pwc/pwc-dec23.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7923dee

Please sign in to comment.