vp8l_dec: make VP8LClear() static

This function is unused outside of vp8l_dec.c.

Change-Id: I16733a44ea024ca9601c098641a3cd464bed2b53
This commit is contained in:
James Zern
2024-07-12 12:03:01 -07:00
parent d742b24a88
commit 4e2828bae8
2 changed files with 3 additions and 5 deletions

View File

@ -1417,7 +1417,9 @@ VP8LDecoder* VP8LNew(void) {
return dec;
}
void VP8LClear(VP8LDecoder* const dec) {
// Resets the decoder in its initial state, reclaiming memory.
// Preserves the dec->status_ value.
static void VP8LClear(VP8LDecoder* const dec) {
int i;
if (dec == NULL) return;
ClearMetadata(&dec->hdr_);