[Webkit-unassigned] [Bug 104302] JPEGImageDecoder should use SharedBuffer::getSomeData() instead of data()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 15 08:06:31 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=104302





--- Comment #1 from noel gordon <noel.gordon at gmail.com>  2013-04-15 08:04:47 PST ---
Noticed in the animated webp patch bug 113124, that a member variable m_demux (a webp demux object needed for decoding) is used to read the SharedBuffer::data(). 
The m_demux object internally maintains pointers into that data().

That's probably ok for a single pass through decode(). However, for progessive decoding of large webp images, decode() is called multiple times.  Any new calls SharedBuffer::data() in any decode() might cause that data() to be consolidated if I'm reading this bug correctly?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list