Fixes merging issue from 1.4, frame data is held in data.ptr in trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@228441 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
fb746bd765
commit
164325c273
|
@ -88,7 +88,7 @@ static int ilbctolin_framein(struct ast_trans_pvt *pvt, struct ast_frame *f)
|
|||
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;
|
||||
}
|
||||
|
|
Reference in New Issue