[asterisk-commits] sruffell: branch sruffell/asterisk-1.4-transcoder r157004 - /team/sruffell/as...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 14 16:28:50 CST 2008


Author: sruffell
Date: Fri Nov 14 16:28:50 2008
New Revision: 157004

URL: http://svn.digium.com/view/asterisk?view=rev&rev=157004
Log:
return -1, not 0.

Modified:
    team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c

Modified: team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c?view=diff&rev=157004&r1=157003&r2=157004
==============================================================================
--- team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c (original)
+++ team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c Fri Nov 14 16:28:50 2008
@@ -170,7 +170,7 @@
 		int write_size;
 		if (!f->datalen) {
 			/* If the datalen is 0, we'll just ignore the frame. */
-			res = 0;
+			res = -1;
 			if (option_verbose > 2)
 				ast_verbose(VERBOSE_PREFIX_3 "codec_zap: " \
 				 "dropping frame of size 0\n");




More information about the asterisk-commits mailing list