Merged revisions 319083 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Mon, 16 May 2011 14:29:06 +0000 (14:29 +0000)
committerDavid Vossel <dvossel@digium.com>
Mon, 16 May 2011 14:29:06 +0000 (14:29 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r319083 | dvossel | 2011-05-16 09:26:33 -0500 (Mon, 16 May 2011) | 5 lines

  Fixes Big Endian build issue.

  (closes issue #19298)
  Reported by: tzafrir
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319084 65c4cc65-6c06-0410-ace0-fbb531ad65f3

formats/format_wav.c

index 5ea4fab..f35fd52 100644 (file)
@@ -354,6 +354,7 @@ static struct ast_frame *wav_read(struct ast_filestream *s, int *whennext)
        int samples;    /* actual samples read */
 #if __BYTE_ORDER == __BIG_ENDIAN
        int x;
+       short *tmp;
 #endif
        int bytes;
        off_t here;