]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
yeah, ummm... This frame pointer should not be static. This situation only
authorRussell Bryant <russell@russellbryant.com>
Thu, 13 Jul 2006 18:44:17 +0000 (18:44 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 13 Jul 2006 18:44:17 +0000 (18:44 +0000)
exists in 1.2 (pointed out by Constantine Filin on the asterisk-dev mailing list)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@37546 65c4cc65-6c06-0410-ace0-fbb531ad65f3

rtp.c

diff --git a/rtp.c b/rtp.c
index 9b328396a00c581de9c8608249ee515d7ae2f266..da759ff0031bfbb27bbd1d2574b6baf36ee49920 100644 (file)
--- 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);