aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-05-08 19:28:12 +0200
committerHans de Goede <hdegoede@redhat.com>2011-05-08 19:29:57 +0200
commitff9a3b22c71a8cfd5074b1ae4089232976776555 (patch)
treea83c8300faf3a8cea00b453aa54d2ae13e195328
parentd0002dd3aa0833f559e30a214d9f6f0f1ee84717 (diff)
libv4l: Make the supported_src_formats bitfield 64 bits
We've been having > 32 src formats for a while now, so we really should have done this earlier already ... Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--lib/libv4lconvert/libv4lconvert-priv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libv4lconvert/libv4lconvert-priv.h b/lib/libv4lconvert/libv4lconvert-priv.h
index ee6bf556..d81b3795 100644
--- a/lib/libv4lconvert/libv4lconvert-priv.h
+++ b/lib/libv4lconvert/libv4lconvert-priv.h
@@ -20,6 +20,7 @@
#define __LIBV4LCONVERT_PRIV_H
#include <stdio.h>
+#include <stdint.h>
#include <sys/types.h>
#include "libv4lconvert.h"
#include "control/libv4lcontrol.h"
@@ -47,8 +48,8 @@ struct v4lconvert_data {
int fd;
int flags; /* bitfield */
int control_flags; /* bitfield */
- int supported_src_formats; /* bitfield */
unsigned int no_formats;
+ int64_t supported_src_formats; /* bitfield */
char error_msg[V4LCONVERT_ERROR_MSG_SIZE];
struct jdec_private *jdec;
struct v4l2_frmsizeenum framesizes[V4LCONVERT_MAX_FRAMESIZES];

Privacy Policy