X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=Documentation%2Fvideo4linux%2Fv4lgrab.c;h=05769cff100998a60ba991325f48f62fe80bc889;hb=86665c75da41889f92b774f31ea5a9a436f392a8;hp=d6e70bef8ad0a98d040b8dd5cb5a3272a233f7bb;hpb=5b56eec77498f15317f3ff5ac9101372f400c859;p=linux-2.6-block.git diff --git a/Documentation/video4linux/v4lgrab.c b/Documentation/video4linux/v4lgrab.c index d6e70bef8ad0..05769cff1009 100644 --- a/Documentation/video4linux/v4lgrab.c +++ b/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);