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

Skip to content
Commit 98be67ae authored by Iris Chang's avatar Iris Chang Committed by Marco Nelissen
Browse files

Check buffer size after read

Ensure the WAV extractor never outputs a partial sample, which
would trigger a CHECK in NuPlayerRenderer:onDrainAudioQueue().
Also ensure it never emits a partial frame (e.g. only a left
sample for a stereo file).

Bug: 133824968
Test: play the corrupted file and there is no NE
Change-Id: I9143f859c55351e06126e4ad8f33f5752113d7f4
(cherry picked from commit 8fb6b7e1)
parent c9992148
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