From 57f3f290c9c3bce6e96f913a00c1cd22b5ada1c0 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 26 May 2025 11:51:26 -0400 Subject: [PATCH] warble: Fix build in light of ci.strip_filesize Change-Id: I8fb7b04c71f588258496cf353fb01df3b38da227 --- lib/rbcodec/test/warble.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/rbcodec/test/warble.c b/lib/rbcodec/test/warble.c index e6e53d7991..b931339d6c 100644 --- a/lib/rbcodec/test/warble.c +++ b/lib/rbcodec/test/warble.c @@ -614,6 +614,11 @@ static long ci_get_command(intptr_t *param) return ret; } +void ci_strip_filesize(off_t size) +{ + ci.filesize = size; +} + static bool ci_should_loop(void) { return enable_loop; @@ -664,7 +669,7 @@ static struct codec_api ci = { ci_configure, ci_get_command, ci_should_loop, - + ci_strip_filesize, ci_sleep, stub_void_void, /* yield */