aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-13 18:44:17 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-13 18:44:17 +0000
commiteefa89f5c1e76f58edcba9f36531e24ff84fd94f (patch)
tree5866b28ccc3518c35f777dcb0ae6f15e1246e83d /rtp.c
parent10d8ecf70070794e6ae4d1bcf6c41af3febd901d (diff)
yeah, ummm... This frame pointer should not be static. This situation only
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37546 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rw-r--r--rtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index 9b328396a..da759ff00 100644
--- a/rtp.c
+++ b/rtp.c
@@ -440,7 +440,8 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp)
unsigned int ssrc;
unsigned int timestamp;
unsigned int *rtpheader;
- static struct ast_frame *f, null_frame = { AST_FRAME_NULL, };
+ struct ast_frame *f;
+ static struct ast_frame null_frame = { AST_FRAME_NULL, };
struct rtpPayloadType rtpPT;
len = sizeof(sin);