Closed
Bug 848639
Opened 12 years ago
Closed 12 years ago
Prevent DecodeHeader for Ogg Skeleton tracks from failing on valid indexes
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
People
(Reporter: cajbir, Assigned: cajbir)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.79 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
DecodeHeader for Ogg Skeleton tracks returns 'false' in the default case when it should probably return true like the other DecodeHeader implementations.
The comment for DecodeHeader states that 'false' means there are no more headers to process but the implementations seem to return 'false' when there is an error, and in the 'no more header' case they set a flag which can be checked by calling another method.
The issue can be shown when playing an Ogg file with a Skeleton index track in a JAR/ZIP file. In this case the duration of the file can be determined without seeking but the implementation of this checks the result of DecodeHeader and bails when it is 'false', deactivating the stream, resulting in no duration being used.
Without the fix, the file http://cd.pn/file2.zip will not allow seeking in the enclosed ogg file. Test by downloading file2.zip locally and trying the URL: jar:file:///home/chris/src/index/file2.zip!/indexed.ogg
Assignee | ||
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Attachment #721971 -
Flags: review?(cpearce) → review+
Comment 3•12 years ago
|
||
Is this ready to land?
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Jason Duell (:jduell) from comment #3)
> Is this ready to land?
Yes, waiting for inbound to open and I'll push.
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Comment 7•12 years ago
|
||
Blocks a blocker.
Comment 8•12 years ago
|
||
status-b2g18-v1.0.0:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → wontfix
status-firefox22:
--- → fixed
Comment 9•12 years ago
|
||
Nokia in https://bugzilla.mozilla.org/show_bug.cgi?id=836643#c31 claims they verified this fix. Marking as such.
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Flags: in-moztrap-
You need to log in
before you can comment on or make changes to this bug.
Description
•