summaryrefslogtreecommitdiff
path: root/pjmedia/src/test/rtp_test.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-02-15 12:24:23 +0000
committerBenny Prijono <bennylp@teluu.com>2006-02-15 12:24:23 +0000
commit4c4244df083d5267fd2b80f7578559ad53af88e6 (patch)
tree968101cdfc9ecd4427cddf041284af9dffe5968e /pjmedia/src/test/rtp_test.c
parent9aeb8dff42899eed17b1b941b0b4ef33672dadda (diff)
Created and updated PJMEDIA documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@188 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/test/rtp_test.c')
-rw-r--r--pjmedia/src/test/rtp_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjmedia/src/test/rtp_test.c b/pjmedia/src/test/rtp_test.c
index db916236..a20545aa 100644
--- a/pjmedia/src/test/rtp_test.c
+++ b/pjmedia/src/test/rtp_test.c
@@ -21,7 +21,7 @@
int rtp_test()
{
- pj_rtp_session rtp;
+ pjmedia_rtp_session rtp;
FILE *fhnd = fopen("RTP.DAT", "wb");
const void *rtphdr;
int hdrlen;
@@ -29,8 +29,8 @@ int rtp_test()
if (!fhnd)
return -1;
- pj_rtp_session_init (&rtp, 4, 0x12345678);
- pj_rtp_encode_rtp (&rtp, 4, 0, 0, 160, &rtphdr, &hdrlen);
+ pjmedia_rtp_session_init (&rtp, 4, 0x12345678);
+ pjmedia_rtp_encode_rtp (&rtp, 4, 0, 0, 160, &rtphdr, &hdrlen);
fwrite (rtphdr, hdrlen, 1, fhnd);
fclose(fhnd);
return 0;