[asterisk-commits] mvanbaak: trunk r117870 - /trunk/channels/chan_nbs.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 22 12:50:40 CDT 2008


Author: mvanbaak
Date: Thu May 22 12:50:40 2008
New Revision: 117870

URL: http://svn.digium.com/view/asterisk?view=rev&rev=117870
Log:
one more place I forgot

Modified:
    trunk/channels/chan_nbs.c

Modified: trunk/channels/chan_nbs.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_nbs.c?view=diff&rev=117870&r1=117869&r2=117870
==============================================================================
--- trunk/channels/chan_nbs.c (original)
+++ trunk/channels/chan_nbs.c Thu May 22 12:50:40 2008
@@ -184,7 +184,7 @@
 	/* Some nice norms */
 	p->fr.datalen = 0;
 	p->fr.samples = 0;
-	p->fr.data =  NULL;
+	p->fr.data.ptr =  NULL;
 	p->fr.src = type;
 	p->fr.offset = 0;
 	p->fr.mallocd=0;
@@ -214,7 +214,7 @@
 		/* Don't try tos end audio on-hook */
 		return 0;
 	}
-	if (nbs_write(p->nbs, frame->data, frame->datalen / 2) < 0) 
+	if (nbs_write(p->nbs, frame->data.ptr, frame->datalen / 2) < 0) 
 		return -1;
 	return 0;
 }




More information about the asterisk-commits mailing list