diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-26 22:15:48 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-26 22:15:48 -0300 |
| commit | 355b49a5385160b8c9a02ba6ef84f6dfaa9e74b9 (patch) | |
| tree | 915855314926bc9fede539212549fc243047a7a6 /linux/Documentation/video4linux | |
| parent | fcf939c56e5b32cbd2f6e77d9de6d190186a4c1a (diff) | |
| parent | 9731acdee8858e02b65a411ba6bd7050540b4c27 (diff) | |
| download | mediapointer-dvb-s2-355b49a5385160b8c9a02ba6ef84f6dfaa9e74b9.tar.gz mediapointer-dvb-s2-355b49a5385160b8c9a02ba6ef84f6dfaa9e74b9.tar.bz2 | |
merge: http://hg.jannau.net/hdpvr-merge/
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/Documentation/video4linux')
| -rw-r--r-- | linux/Documentation/video4linux/v4lgrab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/Documentation/video4linux/v4lgrab.c b/linux/Documentation/video4linux/v4lgrab.c index d6e70bef8..05769cff1 100644 --- a/linux/Documentation/video4linux/v4lgrab.c +++ b/linux/Documentation/video4linux/v4lgrab.c @@ -105,8 +105,8 @@ int main(int argc, char ** argv) struct video_picture vpic; unsigned char *buffer, *src; - int bpp = 24, r, g, b; - unsigned int i, src_depth; + int bpp = 24, r = 0, g = 0, b = 0; + unsigned int i, src_depth = 16; if (fd < 0) { perror(VIDEO_DEV); |
