Closed
Bug 1050060
Opened 11 years ago
Closed 11 years ago
Clean up MP4 range calculation
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: ajones, Assigned: ajones)
References
Details
Attachments
(5 files, 2 obsolete files)
4.48 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
1.97 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
1.04 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
1.19 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
14.85 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
The MP4 range calculation has become messy and requires some clean up.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8468998 -
Flags: review?(edwin)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8468999 -
Flags: review?(edwin)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8469000 -
Flags: review?(edwin)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8469001 -
Flags: review?(edwin)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8469002 -
Flags: review?(edwin)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #8469005 -
Flags: review?(edwin)
Assignee | ||
Updated•11 years ago
|
Attachment #8469001 -
Attachment is obsolete: true
Attachment #8469001 -
Flags: review?(edwin)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8469060 -
Flags: review?(edwin)
Assignee | ||
Updated•11 years ago
|
Attachment #8469000 -
Attachment is obsolete: true
Attachment #8469000 -
Flags: review?(edwin)
Comment on attachment 8468998 [details] [diff] [review]
Clean up MP4 index fields
Review of attachment 8468998 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/libstagefright/binding/Box.cpp
@@ +57,5 @@
> mChildOffset = headerRange.mEnd;
> }
>
> MediaByteRange boxRange(aOffset, aOffset + size);
> + if (mChildOffset > boxRange.mEnd ||
Since boxRange is [), this should be |>=|.
Attachment #8468998 -
Flags: review?(edwin) → review+
Attachment #8469005 -
Flags: review?(edwin) → review+
Attachment #8469002 -
Flags: review?(edwin) → review+
Attachment #8468999 -
Flags: review?(edwin) → review+
Comment on attachment 8469060 [details] [diff] [review]
Optimise MP4 range calculation
Review of attachment 8469060 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/libstagefright/binding/MoofParser.cpp
@@ +56,5 @@
> MoofParser::ParseMdia(Box& aBox, Tkhd& aTkhd)
> {
> for (Box box = aBox.FirstChild(); box.IsAvailable(); box = box.Next()) {
> if (box.IsType("mdhd")) {
> + if (aTkhd.mTrackId == aTkhd.mTrackId) {
um...?
Attachment #8469060 -
Flags: review?(edwin) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Assignee | ||
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/cf9300710e32
https://hg.mozilla.org/integration/mozilla-inbound/rev/2bbd13167a53
https://hg.mozilla.org/integration/mozilla-inbound/rev/51a77113e637
https://hg.mozilla.org/integration/mozilla-inbound/rev/131fee00a393
https://hg.mozilla.org/integration/mozilla-inbound/rev/f38f848af906
Comment 13•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cf9300710e32
https://hg.mozilla.org/mozilla-central/rev/2bbd13167a53
https://hg.mozilla.org/mozilla-central/rev/51a77113e637
https://hg.mozilla.org/mozilla-central/rev/131fee00a393
https://hg.mozilla.org/mozilla-central/rev/f38f848af906
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•