Version 0.1.10 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2001-11-10 20:31:39 +00:00
parent 364f873573
commit 5da86a5290
6 changed files with 434 additions and 79 deletions

View File

@@ -234,10 +234,15 @@ search_startbit3:
getbyte:
/* Need at least 80 samples to be sure we'll have a byte */
if (*len < 80)
return 0;
/* Need at least 80 samples (for 1200) or
1320 (for 45.5) to be sure we'll have a byte */
if (fskd->nbit < 8) {
if (*len < 1320)
return 0;
} else {
if (*len < 80)
return 0;
}
/* Leemos ahora los bits de datos */
j=fskd->nbit;
for (a=n1=0;j;j--) {