aboutsummaryrefslogtreecommitdiffstats
path: root/o3000.c
diff options
context:
space:
mode:
authorSophia Giannikakis <giannikakis@stettbacher.ch>2019-10-21 15:36:07 +0200
committerSophia Giannikakis <giannikakis@stettbacher.ch>2019-10-21 15:36:07 +0200
commitdcf473889815a80134719160503fe9dfe846ed2c (patch)
tree9f5419d1b91ce6e15e0ef4f0fb176cac504193f7 /o3000.c
parentwindows instructions added (diff)
downloado3000-driver-dcf473889815a80134719160503fe9dfe846ed2c.tar.gz
o3000-driver-dcf473889815a80134719160503fe9dfe846ed2c.zip
video cache wrap-around check added
Diffstat (limited to 'o3000.c')
-rw-r--r--o3000.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/o3000.c b/o3000.c
index 16b355f..89e6299 100644
--- a/o3000.c
+++ b/o3000.c
@@ -255,15 +255,8 @@ or a transfer may contain several frames.
/**
- * Maximum image size ever expected.
- *
- * @note The size must be a multiple of 512 bytes!
- */
-#define MAX_IMAGE_SIZE (1280*964*2+IMAGE_HEADER_SIZE)
-
-/**
* Minimum video cache size.
- * It's the double of the maximum image size ever expected.
+ * It's equal to the maximum image size which would appear.
*/
#define MIN_VIDEO_CACHE_SIZE (MAX_IMAGE_SIZE)