test_codec: Fix crash due to missing strip_filesize function

Probably only affects mp3 files.

(Introduced in 38105860dc)

Change-Id: I1946e7be604784ec47ff21a47aab81e91d933a3d
This commit is contained in:
Solomon Peachy 2025-08-12 10:43:23 -04:00
parent b40cf73d36
commit 01860627bd

View file

@ -524,6 +524,11 @@ static void configure(int setting, intptr_t value)
}
static void strip_filesize(off_t size)
{
ci.filesize = size;
}
static void init_ci(void)
{
/* --- Our "fake" implementations of the codec API functions. --- */
@ -547,6 +552,7 @@ static void init_ci(void)
ci.configure = configure;
ci.get_command = get_command;
ci.loop_track = loop_track;
ci.strip_filesize = strip_filesize;
/* --- "Core" functions --- */