diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-29 17:50:44 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-29 17:50:44 +0000 |
commit | afac5cce501cfc6b46792cea06e20cbe07271fc7 (patch) | |
tree | 618831e523571a05ffb2ca1af5dcf337a7cf04b8 /formats/format_pcm.c | |
parent | 4807fe0f0d68a99313c59f33dd4234c1b6b48ebf (diff) |
Merged revisions 90155 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r90155 | tilghman | 2007-11-29 11:29:59 -0600 (Thu, 29 Nov 2007) | 5 lines
Use of "private" as a field name in a header file messes with C++ projects
Reported by: chewbacca
Patch by: casper
(Closes issue #11401)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_pcm.c')
-rw-r--r-- | formats/format_pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c index ded3d6b89..c514b5863 100644 --- a/formats/format_pcm.c +++ b/formats/format_pcm.c @@ -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 */ |