[asterisk-commits] trunk r19810 - /trunk/formats/format_wav_gsm.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Apr 13 10:20:29 MST 2006


Author: tilghman
Date: Thu Apr 13 12:20:28 2006
New Revision: 19810

URL: http://svn.digium.com/view/asterisk?rev=19810&view=rev
Log:
Typo fix

Modified:
    trunk/formats/format_wav_gsm.c

Modified: trunk/formats/format_wav_gsm.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_wav_gsm.c?rev=19810&r1=19809&r2=19810&view=diff
==============================================================================
--- trunk/formats/format_wav_gsm.c (original)
+++ trunk/formats/format_wav_gsm.c Thu Apr 13 12:20:28 2006
@@ -336,7 +336,7 @@
 		return -1;
 	}
 	/* 32: Subchunk 1: Block align */
-	if (fwrite(&block_align, 1, 2, f) != 4) {
+	if (fwrite(&block_align, 1, 4, f) != 4) {
 		ast_log(LOG_WARNING, "Unable to write header\n");
 		return -1;
 	}



More information about the asterisk-commits mailing list