Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19a9319e authored by Arun Menon's avatar Arun Menon
Browse files

Revert "[media] vb2: if bytesused is 0, then fill with output buffer length"



This reverts 'commit 61bd8fb3 ("[media] vb2: if bytesused is 0,
then fill with output buffer length")'

This change is needed to support zero filled len on
Output plane. Without this change, v4l2 framework sets
bytesused to alloc len, in case of zero filled len from client,
causing the firmware to read corrupt data and crash.

Change-Id: I75c53900bdf63b7ee4f3a4768df80415d4b84f8e
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent b90c17ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment