[asterisk-commits] rmudgett: branch 13 r434357 - /branches/13/main/format_cache.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 8 11:23:02 CDT 2015


Author: rmudgett
Date: Wed Apr  8 11:23:00 2015
New Revision: 434357

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=434357
Log:
format_cache.c: Add missing slin12 format to ast_format_cache_is_slinear().

Modified:
    branches/13/main/format_cache.c

Modified: branches/13/main/format_cache.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/main/format_cache.c?view=diff&rev=434357&r1=434356&r2=434357
==============================================================================
--- branches/13/main/format_cache.c (original)
+++ branches/13/main/format_cache.c Wed Apr  8 11:23:00 2015
@@ -500,6 +500,7 @@
 int ast_format_cache_is_slinear(struct ast_format *format)
 {
 	if ((ast_format_cmp(format, ast_format_slin) == AST_FORMAT_CMP_EQUAL)
+		|| (ast_format_cmp(format, ast_format_slin12) == AST_FORMAT_CMP_EQUAL)
 		|| (ast_format_cmp(format, ast_format_slin16) == AST_FORMAT_CMP_EQUAL)
 		|| (ast_format_cmp(format, ast_format_slin24) == AST_FORMAT_CMP_EQUAL)
 		|| (ast_format_cmp(format, ast_format_slin32) == AST_FORMAT_CMP_EQUAL)




More information about the asterisk-commits mailing list