diff options
Diffstat (limited to 'channels/chan_skinny.c')
-rwxr-xr-x | channels/chan_skinny.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index cccb8429c..344de37e2 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -1602,8 +1602,8 @@ static struct ast_frame *skinny_rtp_read(struct skinny_subchannel *sub) if (f->subclass != sub->owner->nativeformats) { ast_log(LOG_DEBUG, "Oooh, format changed to %d\n", f->subclass); sub->owner->nativeformats = f->subclass; - ast_set_read_format(sub->owner, sub->owner->readformat); - ast_set_write_format(sub->owner, sub->owner->writeformat); + ast_set_read_format(sub->owner, sub->owner->readformat, 0); + ast_set_write_format(sub->owner, sub->owner->writeformat, 0); } } } |