summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-09-19 11:32:41 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-09-19 11:32:41 +0200
commit96a4ff1534e40360097b88c8ffc339e0d90dfedf (patch)
treeba89be03c12926ae508593608f54e5531d4c8cf5
parente0b52179aef87374780f72c73b3313ab343246f4 (diff)
downloadODR-AudioEnc-96a4ff1534e40360097b88c8ffc339e0d90dfedf.tar.gz
ODR-AudioEnc-96a4ff1534e40360097b88c8ffc339e0d90dfedf.tar.bz2
ODR-AudioEnc-96a4ff1534e40360097b88c8ffc339e0d90dfedf.zip
Common 21f8507: default id to 1 for ESTn and SSm tags
-rw-r--r--contrib/edioutput/TagItems.h6
1 files changed, 4 insertions, 2 deletions
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