diff options
author | Archit Taneja <[email protected]> | 2014-03-10 04:19:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2014-04-07 09:43:32 -0300 |
commit | 92851f1cdbd082eb993847e1c4468f7de08765bb (patch) | |
tree | 318b85ceee05775d0d0521dccf19df9ae1413221 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 67fb87eec08a7705b0b8177095b1ef099a05b8c9 (diff) |
[media] v4l: ti-vpe: zero out reserved fields in try_fmt
Zero out the reserved formats in v4l2_pix_format_mplane and
v4l2_plane_pix_format members of the returned v4l2_format pointer when passed
through TRY_FMT ioctl.
This ensures that the user doesn't interpret the non-zero fields as some data
passed by the driver, and ensures compliance.
Reviewed-by: Hans Verkuil <[email protected]>
Signed-off-by: Archit Taneja <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions