summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman@collabora.co.uk>2012-03-15 21:24:51 (GMT)
committerDerek Foreman <derek.foreman@collabora.co.uk>2012-03-15 21:24:51 (GMT)
commit7c5ee6ae5dcb277e75ae50f06abab033ed5f88f9 (patch)
treeab61c7709f18d956fbd4e76869ffd61ac04fcc7a
parent94ed1793110af57d3f38410230c8407e1f4b452a (diff)
downloadxf86-video-ti81xx-7c5ee6ae5dcb277e75ae50f06abab033ed5f88f9.tar.gz
xf86-video-ti81xx-7c5ee6ae5dcb277e75ae50f06abab033ed5f88f9.tar.xz
if the video cropper ends up with a value of less than 32 things break. don't let this happen
-rw-r--r--src/xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xv.c b/src/xv.c
index f1168af..11b4038 100644
--- a/src/xv.c
+++ b/src/xv.c
@@ -80,7 +80,7 @@
#define ALIGN(n, a) (((n) + ((a) - 1)) & ~((a) - 1))
/* Determined empirically, may not be correct. */
-#define IMAGE_MIN_WIDTH 24
+#define IMAGE_MIN_WIDTH 32
#define IMAGE_MAX_WIDTH 2048
#define IMAGE_MAX_HEIGHT 2048