diff options
| author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2026-01-14 10:07:10 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-21 14:43:09 +0100 |
| commit | a505ca2db89ad92a8d8d27fa68ebafb12e04a679 (patch) | |
| tree | 1d0e8453290e66f5b8d2474fffd1f5e06faa086f /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 355a110040665e439af126e8ec9c3968e73f163c (diff) | |
media: verisilicon: AV1: Fix tile info buffer size
Each tile info is composed of: row_sb, col_sb, start_pos
and end_pos (4 bytes each). So the total required memory
is AV1_MAX_TILES * 16 bytes.
Use the correct #define to allocate the buffer and avoid
writing tile info in non-allocated memory.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Fixes: 727a400686a2c ("media: verisilicon: Add Rockchip AV1 decoder")
Cc: stable@vger.kernel.org
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
