28 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0
31 17, 23, 32, 36, 40, 46, 50, 58, 60, 5, 5, 0, 0, 0, 0, 0
44 if(!data)
return data;
92 for (frames = 1; frames < len && (buf[frames] & 0x80); frames++) ;
94 if (1 + frames >= len) {
100 speech_data = buf + 1 + frames;
110 for (i = 0; i < frames; i++) {
112 int frame_size = frame_sizes[(toc >> 3) & 0x0f];
114 if (speech_data + frame_size > buf + len) {
118 memset(ptr, 0, pkt->
data + pkt->
size - ptr);
127 memcpy(ptr, speech_data, frame_size);
132 if (speech_data < buf + len) {
135 memset(ptr, 0, pkt->
data + pkt->
size - ptr);
143 char *attr,
char *value)
149 if (!strcmp(value,
"")) {
151 "nonstandard empty value\n", attr);
154 if (!strcmp(attr,
"octet-align"))
156 else if (!strcmp(attr,
"crc"))
157 data->
crc = atoi(value);
158 else if (!strcmp(attr,
"interleaving"))
160 else if (!strcmp(attr,
"channels"))