<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Decoding of animated PNG (APNG) is not optimized for memory usage."
   href="https://bugs.webkit.org/show_bug.cgi?id=146205#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Decoding of animated PNG (APNG) is not optimized for memory usage."
   href="https://bugs.webkit.org/show_bug.cgi?id=146205">bug 146205</a>
              from <span class="vcard"><a class="email" href="mailto:maxstepin&#64;yahoo.com" title="Max Stepin &lt;maxstepin&#64;yahoo.com&gt;"> <span class="fn">Max Stepin</span></a>
</span></b>
        <pre>If segmentLength is big enough we might overshoot a little, and decode not just haltAtFrame but a few more frames after haltAtFrame.

It might potentially lead to a problem with clearFrameBufferCache().

I guess we need to find a way to stop precisely at haltAtFrame. 

There is something similar: decodingSizeOnly() case stops precisely at the header, I'll see if we can use this method.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>