diff options
author | Vikash Garodia <vgarodia@codeaurora.org> | 2018-10-08 07:09:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-09 08:07:07 -0400 |
commit | ce32c0a530bd955206fe45c2eff77e581202d699 (patch) | |
tree | 7c79197fa331ced650b868af9e39829c79c5156b /CREDITS | |
parent | 32ae592036d7aeaabcccb2b1715373a68639a768 (diff) | |
download | linux-ce32c0a530bd955206fe45c2eff77e581202d699.tar.bz2 |
media: venus: vdec: fix decoded data size
Existing code returns the max of the decoded size and buffer size.
It turns out that buffer size is always greater due to hardware
alignment requirement. As a result, payload size given to client
is incorrect. This change ensures that the bytesused is assigned
to actual payload size, when available.
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions