Merged revisions 90155 via svnmerge from
[asterisk/asterisk.git] / formats / format_pcm.c
index ded3d6b..c514b58 100644 (file)
@@ -167,7 +167,7 @@ static int pcm_write(struct ast_filestream *fs, struct ast_frame *f)
 
 #ifdef REALTIME_WRITE
        if (s->fmt->format == AST_FORMAT_ALAW) {
-               struct pcm_desc *pd = (struct pcm_desc *)fs->private;
+               struct pcm_desc *pd = (struct pcm_desc *)fs->_private;
                struct stat stat_buf;
                unsigned long cur_time = get_time();
                unsigned long fpos = ( cur_time - pd->start_time ) * 8; /* 8 bytes per msec */