diff options
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c index 81d51e9a2..86efb6000 100644 --- a/main/file.c +++ b/main/file.c @@ -1193,7 +1193,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon, case AST_FRAME_VOICE: /* Write audio if appropriate */ if (audiofd > -1) - write(audiofd, fr->data, fr->datalen); + write(audiofd, fr->data.ptr, fr->datalen); default: /* Ignore all others */ break; |