diff options
author | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-02-14 06:00:11 +0000 |
---|---|---|
committer | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-02-14 06:00:11 +0000 |
commit | 06fde4bfafaff33006359fb9e0ea965b0236e7af (patch) | |
tree | 4d5b29650be4cacf2c29710581941f0e84cfd431 /channel.c | |
parent | 52a7b81e248f05d6c1e87d2d9260f04632e3b3d7 (diff) |
Fri Feb 14 07:00:01 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -967,7 +967,8 @@ struct ast_frame *ast_read(struct ast_channel *chan) if (!(f->subclass & chan->nativeformats)) { /* This frame can't be from the current native formats -- drop it on the floor */ - ast_log(LOG_NOTICE, "Dropping incompatible voice frame on %s since our native format has changed\n", chan->name); + ast_log(LOG_NOTICE, "Dropping incompatible voice frame on %s of format %d since our native format has changed to %d\n", chan->name, f->subclass, chan->nativeformats); + ast_frfree(f); f = &null_frame; } else if (chan->pvt->readtrans) { f = ast_translate(chan->pvt->readtrans, f, 1); |