diff options
author | Stefan Pöschel <github@basicmaster.de> | 2015-04-14 21:53:48 +0200 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2015-04-14 21:53:48 +0200 |
commit | 2cf0f260ec3ed26035840ea5c956aed96e7a5853 (patch) | |
tree | 8cf045207310edbfcf52db3ec77fc025836d9079 | |
parent | c6cbb0864a40effe1219116f0f2b541c46d96024 (diff) | |
download | fdk-aac-dabplus-2cf0f260ec3ed26035840ea5c956aed96e7a5853.tar.gz fdk-aac-dabplus-2cf0f260ec3ed26035840ea5c956aed96e7a5853.tar.bz2 fdk-aac-dabplus-2cf0f260ec3ed26035840ea5c956aed96e7a5853.zip |
Fix corrupt Slideshow at 23 byte PAD
Due to a bug, at 23 byte PAD size, 13 instead of 12 bytes of data were output
in the first data group. This lead to invalid CRC at the receiver.
-rw-r--r-- | src/mot-encoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp index 0c39556..0d8d8d6 100644 --- a/src/mot-encoder.cpp +++ b/src/mot-encoder.cpp @@ -1078,7 +1078,7 @@ void writeMotPAD(int output_fd, if (i == 0) { // First segment firstseg = 1; - curseglen = padlen-10; + curseglen = get_xpadlength(xpadlengthmask); // size of first X-PAD = MSC-DG + DGLI-DG + End of CI list + 2x CI = size of subsequent non-CI X-PADs non_ci_seglen = curseglen + 4 + 1 + 2; |