diff options
author | Stefan Pöschel <spoeschel@irt.de> | 2019-07-22 17:57:53 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2019-07-23 11:32:03 +0200 |
commit | 53084277c31ca73f1556b6932a74700f0ddcf1cc (patch) | |
tree | 3f9643485a810f9db200aae3b3ad8fc5c3dd06bb /src/dls.cpp | |
parent | a08b1a17a1f4ab003f8e36ec85d551d5a0d43d62 (diff) | |
download | ODR-PadEnc-53084277c31ca73f1556b6932a74700f0ddcf1cc.tar.gz ODR-PadEnc-53084277c31ca73f1556b6932a74700f0ddcf1cc.tar.bz2 ODR-PadEnc-53084277c31ca73f1556b6932a74700f0ddcf1cc.zip |
DLS: indicate DUMMY DL Plus tag
Diffstat (limited to 'src/dls.cpp')
-rw-r--r-- | src/dls.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dls.cpp b/src/dls.cpp index 6c5d76b..f55c141 100644 --- a/src/dls.cpp +++ b/src/dls.cpp @@ -260,7 +260,10 @@ void DLSEncoder::encodeLabel(const std::string& dls_file, const DL_PARAMS& dl_pa for (dl_plus_tags_t::const_iterator it = dl_state.dl_plus_tags.begin(); it != dl_state.dl_plus_tags.end(); it++) { if (it != dl_state.dl_plus_tags.begin()) fprintf(stderr, ", "); - fprintf(stderr, "%d (S/L: %d/%d)", it->content_type, it->start_marker, it->length_marker); + if (it->content_type == 0 && it->start_marker == 0 && it->length_marker == 0) + fprintf(stderr, "(DUMMY)"); + else + fprintf(stderr, "%d (S/L: %d/%d)", it->content_type, it->start_marker, it->length_marker); } fprintf(stderr, "\n"); } |