Fix crash caused by opaquification change -r356042.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 13 Mar 2012 17:01:55 +0000 (17:01 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 13 Mar 2012 17:01:55 +0000 (17:01 +0000)
commit73ec67e008ca6db76625bfc1f992fa726c948837
tree8ba862ee4450ec43f1c57ef8d7e372c6b3a1f141
parentc7315c4283490f79148b566d6c4031534964ab23
Fix crash caused by opaquification change -r356042.

The set_format() function was more subtle in how it modified the
struct ast_channel readtrans/writetrans values.

* Fixed ast_activate_generator() conversion correctly.

(closes issue ASTERISK-19434)
Reported by: Birger Harzenetter
Tested by: rmudgett

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c