commit | 163d72a2d3ec7e0bc41b943fed7667f7cbfc760f | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Tue Sep 22 11:01:17 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Thu Nov 26 07:47:34 2020 +0100 |
tree | 4c27a660b597140a0dc41df226d9b544b5aa6550 | |
parent | 0a33ab1682b44ac0b4128ada7ace9f7a0ef6b59c [diff] |
media: vidtv: avoid copying data for PES structs Minimize the number of data copies and initialization at the code, passing them as pointers instead of duplicating the data. The only case where we're keeping the data copy is at vidtv_pes_write_h(), as it needs a copy of the passed arguments. On such case, we're being more explicit. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>