aboutsummaryrefslogtreecommitdiff
path: root/src/container
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-05-22 19:29:25 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-05-24 22:20:02 +0200
commitdea345f412652151c256f20df0793e47673dff2b (patch)
treeaf9220bd5f7c4f9fa00b03969abd3c5d9a4912d7 /src/container
parent354034b06b6f772ed92c3f26f8e8c680aa93fa8d (diff)
downloadrts-dea345f412652151c256f20df0793e47673dff2b.tar.gz
Allow systems without sound support
Diffstat (limited to 'src/container')
-rw-r--r--src/container/src/container.c2
1 files changed, 1 insertions, 1 deletions
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;