diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-29 04:50:52 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-29 04:50:52 +0200 |
commit | ab46db4c388d126095e8e4d8fc3d7aa191a3d649 (patch) | |
tree | 0e1e7ba97bae7c49849e76c44e4cfe2576807955 /base.c | |
parent | c177a207d4c1a02d9093b03fdd64533d2dbfa9b6 (diff) | |
download | ipecamera-ab46db4c388d126095e8e4d8fc3d7aa191a3d649.tar.gz ipecamera-ab46db4c388d126095e8e4d8fc3d7aa191a3d649.tar.bz2 ipecamera-ab46db4c388d126095e8e4d8fc3d7aa191a3d649.tar.xz ipecamera-ab46db4c388d126095e8e4d8fc3d7aa191a3d649.zip |
Added a small grabbing example
Diffstat (limited to 'base.c')
-rw-r--r-- | base.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -179,7 +179,7 @@ int ipecamera_set_buffer_size(ipecamera_t *ctx, int size) { return PCILIB_ERROR_INVALID_REQUEST; } - if (((size^(size-1)) < size) < size) { + if ((size^(size-1)) < size) { pcilib_error("The buffer size is not power of 2"); } |