Closed Bug 993303 Opened 10 years ago Closed 10 years ago

Correct the VorbisTrackEncoder::WriteLacing function.

Categories

(Core :: Audio/Video: Recording, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: bechen, Assigned: bechen)

Details

Attachments

(1 file, 1 obsolete file)

When I'm writing the gtest for vorbisTrackEncoder. I'm trying to write a ReadLacing fuction, I found an implementation error in VorbisTrackEncoder::WriteLacing.
The function can not handle the lacing number which is multiple of 255.

http://matroska.org/technical/specs/index.html#lacing
Attached patch bug-993303.patch (obsolete) — Splinter Review
Attachment #8403154 - Flags: review?(giles)
Comment on attachment 8403154 [details] [diff] [review]
bug-993303.patch

Review of attachment 8403154 [details] [diff] [review]:
-----------------------------------------------------------------

Yay tests.
Attachment #8403154 - Flags: review?(giles) → review+
Attached patch bug-993303.patchSplinter Review
r=rillian

try server:
https://tbpl.mozilla.org/?tree=Try&rev=d9597d2d6dca
Attachment #8403154 - Attachment is obsolete: true
Attachment #8405186 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/261fbd3fd655
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: