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

Skip to content
Commit 98cb7909 authored by Fang Zhaohui's avatar Fang Zhaohui
Browse files

Fix sanitizer overflow crash in mp4 extractor.



mp4 extractor experienced a sanitizer overflow error due to an
overflow when calculating the actual seek position based on the
track playback offset.
The problematic video has an abnormally high offset value.

Referencing media3 to implement rescaleTime: ensure that precision
is not lost during the calculation and to handle overflow cases.

Bug: 397619415
Test: atest MediaExtractorTest

Change-Id: Ieb7ad96dde6d345a306083bb60aa754aaff4f97e
Signed-off-by: default avatarFang Zhaohui <fangzhaohui@xiaomi.corp-partner.google.com>
parent a14c8449
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