diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-29 17:29:59 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-29 17:29:59 +0000 |
commit | 8417f20fe68be3b186eedbaffd3e5462f5153111 (patch) | |
tree | 797602764292bb013738ea847efe6813375f71a7 /formats/format_h264.c | |
parent | 0005174a58a7f131509d96f431eadedf64624326 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@90155 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/format_h264.c')
-rw-r--r-- | formats/format_h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_h264.c b/formats/format_h264.c index 4b471f84e..bc70a75c7 100644 --- a/formats/format_h264.c +++ b/formats/format_h264.c @@ -72,7 +72,7 @@ static struct ast_frame *h264_read(struct ast_filestream *s, int *whennext) int mark=0; unsigned short len; unsigned int ts; - struct h264_desc *fs = (struct h264_desc *)s->private; + struct h264_desc *fs = (struct h264_desc *)s->_private; /* Send a frame from the file to the appropriate channel */ if ((res = fread(&len, 1, sizeof(len), s->f)) < 1) |