Typo fix
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 13 Apr 2006 17:20:28 +0000 (17:20 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 13 Apr 2006 17:20:28 +0000 (17:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19810 65c4cc65-6c06-0410-ace0-fbb531ad65f3

formats/format_wav_gsm.c

index ea0f95e..3a1dfdf 100644 (file)
@@ -336,7 +336,7 @@ static int write_header(FILE *f)
                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;
        }