FS-5229 missed a spot
This commit is contained in:
parent
7818c3c9ed
commit
6cedccd6fe
|
@ -845,7 +845,7 @@ static switch_bool_t write_displace_callback(switch_media_bug_t *bug, void *user
|
|||
} else {
|
||||
st = switch_core_file_read(&dh->fh, rframe->data, &len);
|
||||
if (len < rframe->samples) {
|
||||
memset(rframe->data, 0, rframe->datalen - len * 2);
|
||||
memset(rframe->data + len * 2, 0, rframe->datalen - len * 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue