summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-25 13:02:05 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-25 13:02:05 +0100
commit0f94df9bbd9165a1fe09efe7814d49972f480ee2 (patch)
treec7f15dce1021d2dad14539ae39dd170e4d7a785c /src
parentcb087e1163d6accd3a194bcaa8a6a9a92a2a1b3b (diff)
We only use 128 bytes of the buffer for TTI blocks.
Diffstat (limited to 'src')
-rw-r--r--src/stl_binary_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stl_binary_writer.cc b/src/stl_binary_writer.cc
index d4fe9ed..e05aad3 100644
--- a/src/stl_binary_writer.cc
+++ b/src/stl_binary_writer.cc
@@ -241,7 +241,7 @@ sub::write_stl_binary (
}
}
- memset (buffer, 0, 1024);
+ memset (buffer, 0, 128);
/* Subtitle group number */
put_int_as_int (buffer + 0, 1, 1);