From 300bc6efea4e4bd9cb0794788bebde425cc39612 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 10 Mar 2017 14:21:32 -0600 Subject: [PATCH] simple-dmabuf-v4l: Remove incorrect assert According to v4l2 documentation, DQBUF always clears FLAG_DONE, so this assert can be expected to fire 100% of the time. Signed-off-by: Derek Foreman Reviewed-by: Pekka Paalanen --- clients/simple-dmabuf-v4l.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/clients/simple-dmabuf-v4l.c b/clients/simple-dmabuf-v4l.c index b49d62fd..82b55a99 100644 --- a/clients/simple-dmabuf-v4l.c +++ b/clients/simple-dmabuf-v4l.c @@ -457,8 +457,6 @@ dequeue(struct display *display) return -1; } - assert(buf.flags & V4L2_BUF_FLAG_DONE); - return buf.index; }