[asterisk-commits] branch 1.2 - r7803 in /branches/1.2/formats: format_pcm.c format_pcm_alaw.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 4 17:45:35 CST 2006


Author: kpfleming
Date: Wed Jan  4 17:45:34 2006
New Revision: 7803

URL: http://svn.digium.com/view/asterisk?rev=7803&view=rev
Log:
return properly after extending file

Modified:
    branches/1.2/formats/format_pcm.c
    branches/1.2/formats/format_pcm_alaw.c

Modified: branches/1.2/formats/format_pcm.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/formats/format_pcm.c?rev=7803&r1=7802&r2=7803&view=diff
==============================================================================
--- branches/1.2/formats/format_pcm.c (original)
+++ branches/1.2/formats/format_pcm.c Wed Jan  4 17:45:34 2006
@@ -207,6 +207,7 @@
 					return res;
 				left -= res;
 			}
+			return offset;
 		}
 		/* fall through */
 	default:

Modified: branches/1.2/formats/format_pcm_alaw.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/formats/format_pcm_alaw.c?rev=7803&r1=7802&r2=7803&view=diff
==============================================================================
--- branches/1.2/formats/format_pcm_alaw.c (original)
+++ branches/1.2/formats/format_pcm_alaw.c Wed Jan  4 17:45:34 2006
@@ -282,6 +282,7 @@
 					return res;
 				left -= res;
 			}
+			return offset;
 		}
 		/* fall through */
 	default:



More information about the asterisk-commits mailing list