mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 15:18:38 +00:00
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
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user