From 330d676320f0d49a9f1ade547fb4d28552263de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Bogar=C3=ADn?= Date: Mon, 3 Aug 2026 15:36:12 -0300 Subject: [PATCH 1/2] use sized initializers for the media sender cfg and callbacks --- src/moq-output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/moq-output.cpp b/src/moq-output.cpp index b6ff85a..2b0464f 100644 --- a/src/moq-output.cpp +++ b/src/moq-output.cpp @@ -263,13 +263,13 @@ bool MOQOutput::Connect() ecfg.versions.version_count = 1; moq_media_sender_cfg_t scfg; - moq_media_sender_cfg_init_live(&scfg); + moq_media_sender_cfg_init_live_sized(&scfg, sizeof(scfg)); scfg.endpoint = &ecfg; scfg.namespace_ = namespace_val; scfg.publish_tracks = true; scfg.drop_without_demand = true; - moq_media_sender_callbacks_init(&scfg.callbacks); + moq_media_sender_callbacks_init_sized(&scfg.callbacks, sizeof(scfg.callbacks)); scfg.callbacks.ctx = this; scfg.callbacks.on_ready = &MOQOutput::OnReady; scfg.callbacks.on_closed = &MOQOutput::OnClosed; From 4de571777da9f58a96b1e22fa5cf1ad0000a3be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Bogar=C3=ADn?= Date: Wed, 5 Aug 2026 10:49:51 -0300 Subject: [PATCH 2/2] fix clang action --- .github/actions/run-clang-format/action.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/run-clang-format/action.yaml b/.github/actions/run-clang-format/action.yaml index 3f3f8e5..7eefe55 100644 --- a/.github/actions/run-clang-format/action.yaml +++ b/.github/actions/run-clang-format/action.yaml @@ -51,6 +51,7 @@ runs: if (( ${+RUNNER_DEBUG} )) setopt XTRACE print ::group::Install clang-format-19 + brew update --quiet brew install --quiet obsproject/tools/clang-format@19 print ::endgroup::