[asterisk-dev] [Code Review] Make sure that we handle possible format error in ast_openstream_full() - channel.c

Russell Bryant russell at digium.com
Wed Sep 8 10:00:57 CDT 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/911/#review2698
-----------------------------------------------------------



/branches/1.4/main/file.c
<https://reviewboard.asterisk.org/r/911/#comment5852>

    As we discussed on IRC, I think your addition needs to go before ast_filehelper() and instead, immediately after ast_set_write_format().


- Russell


On 2010-09-07 14:38:23, Olle E Johansson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/911/
> -----------------------------------------------------------
> 
> (Updated 2010-09-07 14:38:23)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> We don't handle errors when we can't set a format that the sound file is available in on the current channel. We should. I fix.
> 
> 
> Diffs
> -----
> 
>   /branches/1.4/main/file.c 285265 
> 
> Diff: https://reviewboard.asterisk.org/r/911/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Olle E
> 
>




More information about the asterisk-dev mailing list