[Asterisk-bugs] [Asterisk 0010225]: undefined codecs in AST_FORMAT_LIST

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 20 18:09:05 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10225 
====================================================================== 
Reported By:                klaus3000
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10225
Category:                   PBX/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             07-18-2007 03:56 CDT
Last Modified:              07-20-2007 18:09 CDT
====================================================================== 
Summary:                    undefined codecs in AST_FORMAT_LIST
Description: 
Hi! In main/frame.c the AST_FORMAT_LIST contains several entries like:

  { 0, 0, "nothing", "undefined" },

IMHO this entries just cause confusion  because the layout of
AST_FORMAT_LIST is independent from the codec list in frame.h. Thus, all
the "undefined" lines could be removed.


====================================================================== 

---------------------------------------------------------------------- 
 qwell - 07-20-07 18:09  
---------------------------------------------------------------------- 
I looked through frame.c, and I believe that you're correct..  It may have
mattered at one point, but they have the bit field, which links it to the
codec in frame.h

It's also interesting to note that it's currently out of sync with the
codec list. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-20-07 18:09  qwell          Note Added: 0067685                          
======================================================================




More information about the asterisk-bugs mailing list