From 96a4ff1534e40360097b88c8ffc339e0d90dfedf Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 19 Sep 2022 11:32:41 +0200 Subject: Common 21f8507: default id to 1 for ESTn and SSm tags --- contrib/edioutput/TagItems.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'contrib/edioutput') diff --git a/contrib/edioutput/TagItems.h b/contrib/edioutput/TagItems.h index 029681c..c7cd948 100644 --- a/contrib/edioutput/TagItems.h +++ b/contrib/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