From 306d4a83376afb141e9b334dfd92debeb329a59f Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 26 Jul 2010 21:34:31 +0000 Subject: [PATCH] build error --- panda/src/vision/webcamVideoCursorV4L.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/vision/webcamVideoCursorV4L.cxx b/panda/src/vision/webcamVideoCursorV4L.cxx index 5aee147197..a273626c1c 100644 --- a/panda/src/vision/webcamVideoCursorV4L.cxx +++ b/panda/src/vision/webcamVideoCursorV4L.cxx @@ -137,7 +137,9 @@ WebcamVideoCursorV4L(WebcamVideoV4L *src) : MovieVideoCursor(src) { _ready = false; _format = (struct v4l2_format *) malloc(sizeof(struct v4l2_format)); memset(_format, 0, sizeof(struct v4l2_format)); +#ifdef HAVE_JPEG _cinfo = NULL; +#endif _buffers = NULL; _buflens = NULL; _fd = open(src->_device.c_str(), O_RDWR);