[asterisk-commits] dvossel: branch dvossel/fixtheworld_phase1_step2 r299404 - /team/dvossel/fixt...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 21 23:20:45 UTC 2010


Author: dvossel
Date: Tue Dec 21 17:20:42 2010
New Revision: 299404

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=299404
Log:
Fix bug I found during review

Modified:
    team/dvossel/fixtheworld_phase1_step2/main/translate.c

Modified: team/dvossel/fixtheworld_phase1_step2/main/translate.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step2/main/translate.c?view=diff&rev=299404&r1=299403&r2=299404
==============================================================================
--- team/dvossel/fixtheworld_phase1_step2/main/translate.c (original)
+++ team/dvossel/fixtheworld_phase1_step2/main/translate.c Tue Dec 21 17:20:42 2010
@@ -1120,7 +1120,7 @@
 	   known video formats to determine whether there exists
 	   a translation path from the source format to the
 	   destination format. */
-	for (index = 0; src_video && index > cur_max_index; index++) {
+	for (index = 0; src_video && index < cur_max_index; index++) {
 		tmp_fmt = index2format(index);
 		if (!(tmp_fmt & AST_FORMAT_VIDEO_MASK)) {
 			continue;




More information about the asterisk-commits mailing list