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

Skip to content
Commit f954040e authored by Ram Mohan's avatar Ram Mohan Committed by Dichen Zhang
Browse files

ultrahdr: Avoid possible failure during gainmap compression

Allocating memory for compressed gainmap is always tricky because
the size is dependent on the data and quality factor. Too less a size
can cause intermittent errors. Avoid alloc altogether and remove
memcpy

Bug: 283503763
Test: ./libultrahdr_test

Change-Id: Ib57bac8bb25a2d00582c65067608a591f43cdc3a
parent 2aae677f
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