commit 72c41a83a2219dfd1610cbdc8a804148149bce19
parent cee3a047a1aeedf1a82e6ec5994b4c2b47ae7f48
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Tue, 7 Apr 2020 15:38:37 +0200
Register the material name agains the mrumtl structure
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/mrumtl.c b/src/mrumtl.c
@@ -628,6 +628,13 @@ load_stream
goto error;
}
+ res = str_set(&mrumtl->name, stream_name);
+ if(res != RES_OK) {
+ log_err(mrumtl, "Could not copy the stream name `%s' -- %s.\n",
+ stream_name, res_to_cstr(res));
+ goto error;
+ }
+
if(!txtrdr_get_cline(txtrdr)) goto exit; /* No line to parse */
tk = strtok_r(txtrdr_get_line(txtrdr), " \t", &tk_ctx);