FS-5229 missed a spot

This commit is contained in:
Anthony Minessale 2013-03-27 18:47:13 -05:00
parent 7818c3c9ed
commit 6cedccd6fe
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}