summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-09-19 11:31:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-09-19 11:31:45 +0200
commitb76df807e61e25e07fa3ee075dab255355b278fd (patch)
tree5df86b800af0b4d3625ae4bc0ea6ba23eb5f9c39 /lib
parent691708e7fd4929e5d0835978e9a652e118c641f1 (diff)
downloaddabmux-b76df807e61e25e07fa3ee075dab255355b278fd.tar.gz
dabmux-b76df807e61e25e07fa3ee075dab255355b278fd.tar.bz2
dabmux-b76df807e61e25e07fa3ee075dab255355b278fd.zip
Common 21f8507: default id to 1 for ESTn and SSm tags
Diffstat (limited to 'lib')
-rw-r--r--lib/edioutput/TagItems.h6
1 files changed, 4 insertions, 2 deletions
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