[asterisk-commits] file: trunk r67636 - in /trunk: ./ main/translate.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 6 06:20:38 MST 2007


Author: file
Date: Wed Jun  6 08:20:38 2007
New Revision: 67636

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67636
Log:
Merged revisions 67631 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67631 | file | 2007-06-06 09:18:39 -0400 (Wed, 06 Jun 2007) | 2 lines

Fix plc_samples warning when registering a translator. (issue #9897 reported by xylome)

........

Modified:
    trunk/   (props changed)
    trunk/main/translate.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/translate.c
URL: http://svn.digium.com/view/asterisk/trunk/main/translate.c?view=diff&rev=67636&r1=67635&r2=67636
==============================================================================
--- trunk/main/translate.c (original)
+++ trunk/main/translate.c Wed Jun  6 08:20:38 2007
@@ -598,7 +598,7 @@
 				t->plc_samples, t->buffer_samples);
 			return -1;
 		}
-		if (t->dstfmt != AST_FORMAT_SLINEAR)
+		if (t->dstfmt != powerof(AST_FORMAT_SLINEAR))
 			ast_log(LOG_WARNING, "plc_samples %d format %x\n",
 				t->plc_samples, t->dstfmt);
 	}



More information about the asterisk-commits mailing list