From: e9hack <e9hack@googlemail.com>
To: linux-media@vger.kernel.org
Subject: BUG in videobuf_reqbufs()
Date: Sat, 17 Jan 2009 14:37:51 +0100 [thread overview]
Message-ID: <4971DF2F.5010902@googlemail.com> (raw)
Hi,
it seems there is a bug in videobuf_reqbufs(). Depend on the spec
(http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html#VIDIOC-REQBUFS),
it should be possible to deallocate all buffers. This doesn't work, because
videobuf_reqbufs() bails out with EINVAL, if the function is called with a count lower
than 1 (videobuf-core.c, line #399). Deallocate should be done with count set to 0.
Regards,
Hartmut
reply other threads:[~2009-01-17 13:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4971DF2F.5010902@googlemail.com \
--to=e9hack@googlemail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.