summaryrefslogtreecommitdiff
path: root/src/stl_binary_writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-03-25 13:02:05 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-26 23:06:54 +0100
commit4eae6c1402f212bbc3dfeb1e250f23227e6c98b1 (patch)
tree741e4a929e9f16fa5fe93a816138a9bfd715a05b /src/stl_binary_writer.cc
parenta9a6950b0de7bfa4569ef268fae3c487be6e511d (diff)
We only use 128 bytes of the buffer for TTI blocks.
Diffstat (limited to 'src/stl_binary_writer.cc')
-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 88e8ce5..32a6128 100644
--- a/src/stl_binary_writer.cc
+++ b/src/stl_binary_writer.cc
@@ -258,7 +258,7 @@ sub::write_stl_binary (
}
}
- memset (buffer, 0, 1024);
+ memset (buffer, 0, 128);
/* Subtitle group number */
put_int_as_int (buffer + 0, 1, 1);