Handle AudioData with 0 frames

RESOLVED FIXED in Firefox 46

Status

()

defect
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: jwwang, Assigned: jwwang)

Tracking

unspecified
mozilla46
Points:
---

Firefox Tracking Flags

(firefox46 fixed)

Details

Attachments

(1 attachment)

https://hg.mozilla.org/mozilla-central/file/b67316254602a63bf4e568198a5c7d3288a9db27/dom/media/mediasink/DecodedAudioDataSink.cpp#l236

It is possible for an AudioData to have 0 frames. We should ignore it and continue to process the next element to avoid silence.
Assignee: nobody → jwwang
Comment on attachment 8710897 [details]
MozReview Request: Bug 1241003 - ignore AudioData with 0 frames to avoid silence. r=kinetik.

https://reviewboard.mozilla.org/r/31905/#review28629
Attachment #8710897 - Flags: review?(kinetik) → review+
Thanks!
https://hg.mozilla.org/mozilla-central/rev/357a870647f2
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in before you can comment on or make changes to this bug.