mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
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:
parent
b40cf73d36
commit
01860627bd
1 changed files with 6 additions and 0 deletions
|
@ -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 --- */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue