summaryrefslogtreecommitdiff
path: root/uvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'uvc.c')
-rw-r--r--uvc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uvc.c b/uvc.c
index fc28482..9d425fd 100644
--- a/uvc.c
+++ b/uvc.c
@@ -357,6 +357,8 @@ void uvc_events_init(struct uvc_device *dev, struct events *events)
void uvc_set_config(struct uvc_device *dev, struct uvc_function_config *fc)
{
+ /* FIXME: The maximum size should be specified per format and frame. */
+ dev->maxsize = 0;
dev->fc = fc;
}