[asterisk-dev] [Code Review] 3822: media_formats: move format_compatability to channels/iax2 where possible

Corey Farrell reviewboard at asterisk.org
Thu Jul 17 13:36:40 CDT 2014



> On July 17, 2014, 2:32 p.m., rmudgett wrote:
> > ast_format_compatibility_format2bitfield() and ast_format_compatibility_codec2bitfield() are used by other modules than just chan_iax2.

It appears my description is wrong, these two functions are the only ones that are not moved out of main/format_compatibility.c


- Corey


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


On July 16, 2014, 10:46 p.m., Corey Farrell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3822/
> -----------------------------------------------------------
> 
> (Updated July 16, 2014, 10:46 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> * Move all ast_codec_pref functions to channels/iax2/codec_pref.c.
> * Move ast_format_compatibility_format2bitfield and ast_format_compatibility_codec2bitfield to channels/iax2/format_compatibility.c
> * Change prefix of all moved functions from ast_ to iax2_.
> * Fix comment in include/asterisk/config_options.h
> 
> 
> Diffs
> -----
> 
>   /team/group/media_formats-reviewed-trunk/main/format_compatibility.c 418809 
>   /team/group/media_formats-reviewed-trunk/main/format_compatibility.c HEAD 
>   /team/group/media_formats-reviewed-trunk/main/format_compatibility.c HEAD 
>   /team/group/media_formats-reviewed-trunk/include/asterisk/format_compatibility.h 418809 
>   /team/group/media_formats-reviewed-trunk/include/asterisk/format_compatibility.h HEAD 
>   /team/group/media_formats-reviewed-trunk/include/asterisk/format_compatibility.h HEAD 
>   /team/group/media_formats-reviewed-trunk/include/asterisk/config_options.h 418809 
>   /team/group/media_formats-reviewed-trunk/channels/iax2/parser.c 418809 
>   /team/group/media_formats-reviewed-trunk/channels/chan_iax2.c 418809 
> 
> Diff: https://reviewboard.asterisk.org/r/3822/diff/
> 
> 
> Testing
> -------
> 
> Compile only.
> 
> 
> Thanks,
> 
> Corey Farrell
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140717/495e9141/attachment.html>


More information about the asterisk-dev mailing list