Closed Bug 880006 Opened 9 years ago Closed 9 years ago

WMF backend should be calling NotifyBytesConsumed()

Categories

(Core :: Audio/Video, defect)

x86_64
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: cpearce, Assigned: cpearce)

Details

Attachments

(1 file)

I forgot to call NotifyBytesConsumed() in WMFReader::Decode*(). Oops...
Attached patch PatchSplinter Review
Remember how many bytes are read in WMFByteStream, and have the reader report and reset that counter every time WMFReader::Decode*() is called.
Attachment #760254 - Flags: review?(paul)
Attachment #760254 - Flags: review?(paul) → review+
https://hg.mozilla.org/mozilla-central/rev/a220903e2dee
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.