diff options
| author | Alexandre Courbot <[email protected]> | 2019-03-26 03:44:23 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-03-29 07:41:46 -0400 |
| commit | 52fafc58c3535c9f4f53864686dbaee3bcbadcb4 (patch) | |
| tree | 995b02beeb841f438c22217df153c6d8137a1840 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d7a955c8ef7cd8fecfd9e900c47f72e67dfcc49a (diff) | |
media: mtk-vcodec: fix access to incorrect planes member
Commit 0650a91499e0 ("media: mtk-vcodec: Correct return type for mem2mem
buffer helpers") fixed the return types for mem2mem buffer helper
functions by changing a few local variables from vb2_buffer to
vb2_v4l2_buffer. However, it left a few accesses to vb2_buffer::planes
as-is, accidentally turning them into accesses to
vb2_v4l2_buffer::planes and resulting in values being read from/written
to the wrong place.
Fix this by inserting vb2_buf into these accesses so they mimic their
original behavior.
Fixes: 0650a91499e0 ("media: mtk-vcodec: Correct return type for mem2mem buffer helpers")
Signed-off-by: Alexandre Courbot <[email protected]>
Reviewed-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Hans Verkuil <[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