diff options
| author | Benjamin Gaignard <[email protected]> | 2023-11-09 17:34:34 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-11-23 12:09:43 +0100 |
| commit | 7dc866df40127dceac9ba83ae16c0c11e7d1666f (patch) | |
| tree | 6a4e31af3cc57cd9c0bb44a76b6f38dc93ea355d /tools/perf/scripts/python | |
| parent | 53963fb12fd43176dff4b33d937fb7575b0bf4fb (diff) | |
media: dvb-core: Use vb2_get_buffer() instead of directly access to buffers array
Use vb2_get_buffer() instead of direct access to the vb2_queue bufs array.
This allows us to change the type of the bufs in the future.
After each call to vb2_get_buffer() we need to be sure that we get
a valid pointer so check the return value of all of them.
Signed-off-by: Benjamin Gaignard <[email protected]>
Reviewed-by: Andrzej Pietrasiewicz <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions