[asterisk-commits] dvossel: trunk r228441 - /trunk/codecs/codec_ilbc.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 6 11:22:35 CST 2009


Author: dvossel
Date: Fri Nov  6 11:22:31 2009
New Revision: 228441

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228441
Log:
Fixes merging issue from 1.4, frame data is held in data.ptr in trunk


Modified:
    trunk/codecs/codec_ilbc.c

Modified: trunk/codecs/codec_ilbc.c
URL: http://svnview.digium.com/svn/asterisk/trunk/codecs/codec_ilbc.c?view=diff&rev=228441&r1=228440&r2=228441
==============================================================================
--- trunk/codecs/codec_ilbc.c (original)
+++ trunk/codecs/codec_ilbc.c Fri Nov  6 11:22:31 2009
@@ -88,7 +88,7 @@
 	int16_t *dst = pvt->outbuf.i16;
 	float tmpf[ILBC_SAMPLES];
 
-	if (!f->data && f->datalen) {
+	if (!f->data.ptr && f->datalen) {
 		ast_log(LOG_DEBUG, "issue 16070, ILIB ERROR. data = NULL datalen = %d src = %s\n", f->datalen, f->src ? f->src : "no src set");
 		f->datalen = 0;
 	}




More information about the asterisk-commits mailing list