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

Skip to content
Commit 8fb6b7e1 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
parent 8b43461c
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