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

Skip to content
Commit 736ab077 authored by Prateek Shrivastava's avatar Prateek Shrivastava Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Check for frame size for calculating CF



If height and width are small resulting into less
MBs per frame then frame size might result into
zero after division from a factor of (32*8*3)/2.
So clipping max value of CF at (4 << 16).

CRs-Fixed: 2167880
Change-Id: I640a46d1ed627a6e15523e96781d07c514ac9734
Signed-off-by: default avatarPrateek Shrivastava <pshrivas@codeaurora.org>
parent 5a580c0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment