Created attachment 680495 [details] [diff] [review] make MediaStreamSource::readAt() aware of EOF If you push an empty MP4 file (0 byte) to the device, gecko would run into an infinite loop for parsing meta data of the container. Root cause is MediaStreamSource::readAt() is not aware of EOF of the container.
Thanks Thinker! Is this patch ready for review?
Attachment #680495 - Flags: review?(chris.double)
Created attachment 683902 [details] [diff] [review] check EOF to avoid infinite looping when parsing MP4 r=doublec
Whats the status here? We need this _urgently_ landed.
https://hg.mozilla.org/integration/mozilla-inbound/rev/414dab54c904 Can we get a test for this?
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
status-firefox18: --- → fixed
status-firefox19: --- → fixed
status-firefox20: --- → fixed
You need to log in before you can comment on or make changes to this bug.