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

Commit 56002623 authored by Srinu Gorle's avatar Srinu Gorle
Browse files

msm: vidc: skip fps round off when client sets 1 fps



sometimes fps is rounded off one lesser, makes it
to zero, when the client is setting fps as 1.
This exposes division by zero crash when calculating
the load for non realtime usescases. Crash is observed
in recent monkey runs.

Change-Id: I4ec824d658ed3a14ab43ca031e989b01adfddc11
Signed-off-by: default avatarSrinu Gorle <sgorle@codeaurora.org>
parent bf1f2607
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