summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-02-24 10:38:00 +0100
committerBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-03-21 14:46:44 +0100
commit4a5ad4e9b04e0c41efddc9800d4462c23c016904 (patch)
tree2151ab7f7b452842ad8ac205dd0e486eee737470 /src
parent330cd1c56007252932a100c741548b94131e09c6 (diff)
libcamera: media_object: Fix unnecessary copy
`MediaEntity::ancillaryEntities()` can just return a const lvalue reference to the underlying array, a copy need not be made. That was likely the original intention. Fixes: 9490c664b57a6c ("libcamera: Add members to MediaEntity to support ancillary entities") Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions