Closed Bug 565322 Opened 15 years ago Closed 15 years ago

deadcode in nsOggReader::FindEndTime if !codecState

Categories

(Core :: Audio/Video, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity)

Attachments

(1 file)

793 PRInt64 nsOggReader::FindEndTime(PRInt64 aEndOffset) 892 if (!codecState) { 893 // This page is from a bitstream which we haven't encountered yet. 894 // It's probably from a new "link" in a "chained" ogg. Don't 895 // bother even trying to find a duration... 896 break; 899 PRInt64 t = codecState ? codecState->Time(granulepos) : -1;
Attached patch proposalSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #444898 - Flags: review?(chris.double)
Comment on attachment 444898 [details] [diff] [review] proposal Changed reviewer to cpearce as he is more familiar with the ogg seeking code.
Attachment #444898 - Flags: review?(chris.double) → review?(chris)
Comment on attachment 444898 [details] [diff] [review] proposal Thanks! The offending code is left over from when there was more debug logging in there, and should be removed.
Attachment #444898 - Flags: review?(chris) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: