V4L/DVB: v4l: mem2mem_testdev: fix errorenous comparison
authorPawel Osciak <p.osciak@samsung.com>
Fri, 10 Sep 2010 05:02:32 +0000 (02:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Sep 2010 01:22:08 +0000 (22:22 -0300)
commitb17a200f923070104a5b97085ed09ba0f682f637
treefaa120e3418e1a21b335bfb008998a100cb941dd
parent23f0cb62ba3a1a11ab02cb0675f28befc56c89b9
V4L/DVB: v4l: mem2mem_testdev: fix errorenous comparison

Output buffer has to be at least the size of input buffer, not the other
way around.

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mem2mem_testdev.c