From b76df807e61e25e07fa3ee075dab255355b278fd Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 19 Sep 2022 11:31:45 +0200 Subject: Common 21f8507: default id to 1 for ESTn and SSm tags --- lib/edioutput/TagItems.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/edioutput/TagItems.h b/lib/edioutput/TagItems.h index 029681c..c7cd948 100644 --- a/lib/edioutput/TagItems.h +++ b/lib/edioutput/TagItems.h @@ -133,7 +133,8 @@ class TagESTn : public TagItem uint8_t* mst_data; size_t mst_length; // STLn * 8 bytes - uint8_t id; + // id is 1-indexed. + uint8_t id = 1; }; // ETSI TS 102 693, 5.1.2 DAB STI-D(LI) Management @@ -209,7 +210,8 @@ class TagSSm : public TagItem const uint8_t *istd_data; size_t istd_length; // bytes - uint16_t id = 0; + // id is 1-indexed. + uint16_t id = 1; }; // ETSI TS 102 821, 5.2.2.2 Dummy padding -- cgit v1.2.3