mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 04:43:22 -05:00
WebPMuxAssemble always alloc output buffer and do not reuse provided one. It overrites provided buffer and it's not freed in the previous version. WebPDataClear cannot be used with shared pointer as it does not free the object memory itself. webpFree expects void*, but not const void* that's why const cast is required here.