]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 296082 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 24 Nov 2010 20:23:11 +0000 (20:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 24 Nov 2010 20:23:11 +0000 (20:23 +0000)
commit272d665228264b0230f70f9c2d0ee47c714c42fe
tree32b4f4202b9061f22e0e0101dee467d5435b7935
parent5c520fdb04b416ca0d7eae3ffab52bed72ec0dbb
Merged revisions 296082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r296082 | russell | 2010-11-24 14:22:32 -0600 (Wed, 24 Nov 2010) | 12 lines

  Fix false reporting of an error by set_format().

  In the case that the native format was able to be changed to match the
  new requested format, the code proceeded to attempt to build a translation
  path, anyway.  The result would be NULL, since no translation path is
  necessary and resulted in this function thinking an error has occurred.
  This case is now specifically caught and no attempt to build a translation
  path is attempted.

  Thanks to our automated tests and bamboo.asterisk.org for catching this problem
  and making a whole lot of noise when things started failing.  :-)
........

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