From cf26226714f73ce0d2b833bc579dbb00b9297d88 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Fri, 17 Feb 2017 12:02:11 +0100 Subject: Fix SAD field width The width of the SAD field is 10bit, therefore up to now subchannels with a higher start address were by mistake placed at a lower address within the MSC. Thereby also other subchannels could have been overwritten. --- src/SubchannelSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SubchannelSource.h') diff --git a/src/SubchannelSource.h b/src/SubchannelSource.h index 367bb5a..b4ca697 100644 --- a/src/SubchannelSource.h +++ b/src/SubchannelSource.h @@ -42,7 +42,7 @@ class SubchannelSource : public ModInput { public: SubchannelSource( - uint8_t sad, + uint16_t sad, uint16_t stl, uint8_t tpl ); -- cgit v1.2.3