diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-04-27 03:16:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 12:38:33 -0400 |
commit | 9ce3ce4d4a8dc80b2a2265650be54a86e854561e (patch) | |
tree | 4673f3c0a02923e3a6689fcf33112a509bc6c926 /drivers/media | |
parent | b89225a1c803d50271f86be15ecfccc0b0215007 (diff) |
[media] V4L: mem2mem: fix alignment in mem2mem-testdev
Fix a trivial alignment calculation issue.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/mem2mem_testdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mem2mem_testdev.c b/drivers/media/video/mem2mem_testdev.c index ee3efbd83bdb..d2dec585e61b 100644 --- a/drivers/media/video/mem2mem_testdev.c +++ b/drivers/media/video/mem2mem_testdev.c | |||
@@ -40,7 +40,7 @@ MODULE_VERSION("0.1.1"); | |||
40 | #define MIN_H 32 | 40 | #define MIN_H 32 |
41 | #define MAX_W 640 | 41 | #define MAX_W 640 |
42 | #define MAX_H 480 | 42 | #define MAX_H 480 |
43 | #define DIM_ALIGN_MASK 0x08 /* 8-alignment for dimensions */ | 43 | #define DIM_ALIGN_MASK 7 /* 8-byte alignment for line length */ |
44 | 44 | ||
45 | /* Flags that indicate a format can be used for capture/output */ | 45 | /* Flags that indicate a format can be used for capture/output */ |
46 | #define MEM2MEM_CAPTURE (1 << 0) | 46 | #define MEM2MEM_CAPTURE (1 << 0) |