Commit d7ecbc6a authored by Committed by Wim TaymansBrowse files
collectpads: don't keep buffers reffed longer than needed
Make sure we take ownership of the buffer early without increasing its refcount when we go in the collect function. This reduces the amount of copies needed in order to make the buffer writable in most cases.
Showing with 10 additions and 8 deletions