Skip to content

Commit

Permalink
use generic API
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouqueau committed Sep 11, 2024
1 parent d481e1b commit b8c6921
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/utils/xml_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b8c6921

Please sign in to comment.