From cfbd2d6622d7a75929f34972ca407acb4437d3d2 Mon Sep 17 00:00:00 2001 From: "hans@localhost.localdomain" Date: Wed, 6 Aug 2008 10:49:16 +0200 Subject: libv4l: Fix errors and warnings when compiling with ICC From: Gregor Jasny libv4l: Fix errors and warnings when compiling with ICC Priority: normal Signed-off-by: Gregor Jasny Signed-off-by: Hans de Goede --- v4l2-apps/lib/libv4l/libv4l2/log.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'v4l2-apps/lib/libv4l/libv4l2/log.c') diff --git a/v4l2-apps/lib/libv4l/libv4l2/log.c b/v4l2-apps/lib/libv4l/libv4l2/log.c index 05f6c46d7..414634b53 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/log.c +++ b/v4l2-apps/lib/libv4l/libv4l2/log.c @@ -25,6 +25,7 @@ #include /* end broken header workaround includes */ #include +#include "libv4l2-priv.h" #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) @@ -116,7 +117,7 @@ void v4l2_log_ioctl(unsigned long int request, void *arg, int result) int pixfmt = fmt->fmt.pix.pixelformat; if (fmt->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { - fprintf(v4l2_log_file, " pixelformat: %c%c%c%c %dx%d\n", + fprintf(v4l2_log_file, " pixelformat: %c%c%c%c %ux%u\n", pixfmt & 0xff, (pixfmt >> 8) & 0xff, (pixfmt >> 16) & 0xff, @@ -136,7 +137,7 @@ void v4l2_log_ioctl(unsigned long int request, void *arg, int result) struct v4l2_requestbuffers *req = arg; fprintf(v4l2_log_file, " count: %u type: %d memory: %d\n", - req->count, req->type, req->memory); + req->count, (int)req->type, (int)req->memory); } break; } -- cgit v1.2.3 From d8b389356c9965565035d1e7a3c400b5aa46c7aa Mon Sep 17 00:00:00 2001 From: "hans@localhost.localdomain" Date: Tue, 26 Aug 2008 16:37:38 +0200 Subject: libv4l: x86_64 asm fixes and hide non public symbols From: Gregor Jasny * Hide non public symbols (Gregor Jasny) * Fix and enable x86_64 asm jpeg decompress helper functions (Gregor Jasny) Priority: normal Signed-off-by: Gregor Jasny Signed-off-by: Hans de Goede --- v4l2-apps/lib/libv4l/libv4l2/log.c | 1 + 1 file changed, 1 insertion(+) (limited to 'v4l2-apps/lib/libv4l/libv4l2/log.c') diff --git a/v4l2-apps/lib/libv4l/libv4l2/log.c b/v4l2-apps/lib/libv4l/libv4l2/log.c index 414634b53..6237d55ec 100644 --- a/v4l2-apps/lib/libv4l/libv4l2/log.c +++ b/v4l2-apps/lib/libv4l/libv4l2/log.c @@ -25,6 +25,7 @@ #include /* end broken header workaround includes */ #include +#include "libv4l2.h" #include "libv4l2-priv.h" #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) -- cgit v1.2.3