mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Merge "VP8TBufferClear: remove some misleading const's"
This commit is contained in:
commit
be6635e91d
@ -53,10 +53,10 @@ void VP8TBufferInit(VP8TBuffer* const b, int page_size) {
|
||||
|
||||
void VP8TBufferClear(VP8TBuffer* const b) {
|
||||
if (b != NULL) {
|
||||
const VP8Tokens* p = b->pages_;
|
||||
VP8Tokens* p = b->pages_;
|
||||
while (p != NULL) {
|
||||
const VP8Tokens* const next = p->next_;
|
||||
WebPSafeFree((void*)p);
|
||||
VP8Tokens* const next = p->next_;
|
||||
WebPSafeFree(p);
|
||||
p = next;
|
||||
}
|
||||
VP8TBufferInit(b, b->page_size_);
|
||||
|
Loading…
Reference in New Issue
Block a user