Fix build

Former-commit-id: 1b98924c9d9292b6661a5c9e3e17b06813348b54
This commit is contained in:
johan 2014-03-04 23:22:46 +01:00
parent 0107aa7af6
commit dd0a18642b
2 changed files with 9 additions and 2 deletions

View File

@ -17,8 +17,12 @@ public:
/// Default constructor for an image
///
Image() :
Image(1, 1)
_width(1),
_height(1),
_pixels(new Pixel_T[2]),
_endOfPixels(_pixels + 1)
{
memset(_pixels, 0, 2*sizeof(Pixel_T));
}
///

View File

@ -9,9 +9,12 @@ target_link_libraries(hyperiond
jsonserver
protoserver
boblightserver
v4l2-grabber
)
if (ENABLE_DISPMANX)
target_link_libraries(hyperiond dispmanx-grabber)
endif (ENABLE_DISPMANX)
if (ENABLE_V4L2)
target_link_libraries(hyperiond v4l2-grabber)
endif (ENABLE_V4L2)