diff options
author | Jernej Skrabec <jernej.skrabec@gmail.com> | 2022-10-19 19:45:50 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-10-24 19:03:54 +0200 |
commit | 0ee952c2f484ee0059f7ce4951aaa3cb0eda96dd (patch) | |
tree | 4897d07223c76aa50e378c973a5828fe10035bb8 /kernel/bpf/memalloc.c | |
parent | d555409dd1b7cc9e7e5b9e2924c0ef4bf23f6c9b (diff) |
media: cedrus: h265: Associate mv col buffers with buffer
Currently mv col aux buffers are allocated as a pool. This is not
optimal because pool size equals number of buffers before stream is
started. Buffers can easily be allocated afterwards. In such cases,
invalid pointer is assigned to the decoding frame and Cedrus might
overwrite memory location which is allocated to different task.
Solve this issue with allocating mv col buffer once capture buffer is
actually used.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'kernel/bpf/memalloc.c')
0 files changed, 0 insertions, 0 deletions