[asterisk-commits] file: branch group/media_formats r406637 - /team/group/media_formats/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 27 09:33:47 CST 2014


Author: file
Date: Mon Jan 27 09:33:45 2014
New Revision: 406637

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=406637
Log:
Make it so everything can be added.

Modified:
    team/group/media_formats/main/format_cap_ng.c

Modified: team/group/media_formats/main/format_cap_ng.c
URL: http://svnview.digium.com/svn/asterisk/team/group/media_formats/main/format_cap_ng.c?view=diff&rev=406637&r1=406636&r2=406637
==============================================================================
--- team/group/media_formats/main/format_cap_ng.c (original)
+++ team/group/media_formats/main/format_cap_ng.c Mon Jan 27 09:33:45 2014
@@ -165,7 +165,7 @@
 			continue;
 		}
 
-		if (codec->type != type) {
+		if ((type != AST_MEDIA_TYPE_UNKNOWN) && codec->type != type) {
 			ao2_ref(codec, -1);
 			continue;
 		}




More information about the asterisk-commits mailing list