aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-01-18 19:07:30 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2012-01-18 19:07:30 +0100
commita659f4827eb3f78815c56ea1ca8b311d4e764b00 (patch)
treece723be88ca8a4493c4d9863bab9fb5e7a197fdd
parent4308667a25f67469924050114ab3d4b53960a72b (diff)
Fixed TRAU frame handling of packet lengths that are not a multiple of 4
-rw-r--r--src/subchan_demux.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/subchan_demux.c b/src/subchan_demux.c
index 41fe1d2..8613c17 100644
--- a/src/subchan_demux.c
+++ b/src/subchan_demux.c
@@ -102,10 +102,6 @@ int subch_demux_in(struct subch_demux *dmx, uint8_t *data, int len)
{
int i, c;
- /* we avoid partially filled bytes in outbuf */
- if (len % 4)
- return -EINVAL;
-
for (i = 0; i < len; i++) {
uint8_t inbyte = data[i];