Fixed some issues raised by coverity in spandsp ilbc and unimrcp

This commit is contained in:
Steve Underwood committed 2014-07-22 09:38:55 +08:00
1 parent 7e08d2123d
commit fb6ecb4c76
5 files changed
+26 -25

No files matched your search

+1 -1
View File
@@ -400,7 +400,7 @@ static void super_tone_chunk(super_tone_rx_state_t *s)
s->segments[9].f2,
s->segments[9].min_duration*SUPER_TONE_BINS/8);
}
memcpy (&s->segments[0], &s->segments[1], 9*sizeof(s->segments[0]));
memmove(&s->segments[0], &s->segments[1], 9*sizeof(s->segments[0]));
s->segments[9].f1 = k1;
s->segments[9].f2 = k2;
s->segments[9].min_duration = 1;