From b8c69217d5f7d933d1080f1e68a57838ac9ff696 Mon Sep 17 00:00:00 2001 From: Romain Bouqueau Date: Tue, 10 Sep 2024 21:42:50 -0400 Subject: [PATCH] use generic API --- src/utils/xml_parser.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/utils/xml_parser.c b/src/utils/xml_parser.c index 9aec295196..d5ac803a95 100644 --- a/src/utils/xml_parser.c +++ b/src/utils/xml_parser.c @@ -3077,11 +3077,8 @@ static void xml_emib_parse(GF_XMLNode *root, GF_BitStream *bs) } } - GF_Err emib_box_size(GF_Box *s); - emib_box_size((GF_Box*)emib); - - GF_Err emib_box_write(GF_Box *s, GF_BitStream *bs); - if (emib_box_write((GF_Box*)emib, bs) != GF_OK) + gf_isom_box_size((GF_Box*)emib); + if (gf_isom_box_write((GF_Box*)emib, bs) != GF_OK) GF_LOG(GF_LOG_ERROR, GF_LOG_CORE, ("[XML] EventMessageInstanceBox serialization failed\n")); if (!emib->message_data) {