aboutsummaryrefslogtreecommitdiffstats
path: root/src/dls.cpp
diff options
context:
space:
mode:
authorStefan Pöschel <spoeschel@irt.de>2019-07-22 17:57:53 +0200
committerStefan Pöschel <github@basicmaster.de>2019-07-23 11:32:03 +0200
commit53084277c31ca73f1556b6932a74700f0ddcf1cc (patch)
tree3f9643485a810f9db200aae3b3ad8fc5c3dd06bb /src/dls.cpp
parenta08b1a17a1f4ab003f8e36ec85d551d5a0d43d62 (diff)
downloadODR-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.cpp5
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");
}