diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-22 18:00:19 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-22 18:00:19 +0000 |
commit | 43c9f4f73ad61263ec17740a93239169cceb492e (patch) | |
tree | e986568f88a614e071c962cdf8f58dd4b8d7b5c5 /channel.c | |
parent | 8ed9bfff202132a17d5d723ed1e8e1ad5483111f (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@8440 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3830,7 +3830,7 @@ static void copy_data_from_queue(struct ast_channel_spy_queue *queue, short *buf } tocopy = (f->samples > samples) ? samples : f->samples; - bytestocopy = ast_codec_get_len(queue->format, samples); + bytestocopy = ast_codec_get_len(queue->format, tocopy); memcpy(buf, f->data, bytestocopy); samples -= tocopy; buf += tocopy; |