~libv4l/libv4l/dev

Viewing all changes in revision 4216.

  • Committer: Hans Verkuil
  • Author(s): Philipp Zabel
  • Date: 2019-08-13 13:39:08 UTC
  • Revision ID: git-v1:c6fd58c3bd7098bf83bfcc062e0795ec17e9142c
v4l-helpers.h: count mappings separately from buffers

This is required to avoid leaking mapped buffers when trying to unmap
after reqbufs(0), to test buffer orphaning.

Fixes: 6300b376cb3e ("v4l2-compliance: test orphaned buffer support");
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: