Fixes merging issue from 1.4, frame data is held in data.ptr in trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
certified/1.8.6
David Vossel 16 years ago
parent ee5ecf3c3e
commit 8a80c1bd8c

@ -88,7 +88,7 @@ static int ilbctolin_framein(struct ast_trans_pvt *pvt, struct ast_frame *f)
int16_t *dst = pvt->outbuf.i16; int16_t *dst = pvt->outbuf.i16;
float tmpf[ILBC_SAMPLES]; 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"); 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; f->datalen = 0;
} }

Loading…
Cancel
Save