In an animated WebP, chances that layers/frame have the same size is
high. It is uneeded to free then malloc again a buffer at each frame,
unless we need more allocated memory.
This is probably not so significant, but still feels nicer.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| file-webp-dialog.c | ||
| file-webp-dialog.h | ||
| file-webp-load.c | ||
| file-webp-load.h | ||
| file-webp-save.c | ||
| file-webp-save.h | ||
| file-webp.c | ||
| file-webp.h | ||
| Makefile.am | ||