From dea345f412652151c256f20df0793e47673dff2b Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 22 May 2022 19:29:25 +0200 Subject: Allow systems without sound support --- src/container/src/container.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/container') diff --git a/src/container/src/container.c b/src/container/src/container.c index 5c568a9..a6b8733 100644 --- a/src/container/src/container.c +++ b/src/container/src/container.c @@ -67,7 +67,7 @@ static int read_file_contents(const struct container *const el, FILE *const f, break; case CONTAINER_TYPE_SOUND: - if (sfx_sound_from_fp(el->data.sound, f)) + if (sfx_sound_from_fp(el->data.sound, f, sz)) goto end; break; -- cgit v1.2.3