aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_ilbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'codecs/codec_ilbc.c')
-rw-r--r--codecs/codec_ilbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_ilbc.c b/codecs/codec_ilbc.c
index f7665649d..3227dc80e 100644
--- a/codecs/codec_ilbc.c
+++ b/codecs/codec_ilbc.c
@@ -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;
}