From d75f80fe081b298c7863611e96b5c8d9642ae6da Mon Sep 17 00:00:00 2001 From: David Vossel Date: Mon, 16 May 2011 14:26:33 +0000 Subject: [PATCH] Fixes Big Endian build issue. (closes issue #19298) Reported by: tzafrir git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@319083 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- formats/format_wav.c | 1 + 1 file changed, 1 insertion(+) diff --git a/formats/format_wav.c b/formats/format_wav.c index fdd6e14b0e..1c6d8c6a8b 100644 --- a/formats/format_wav.c +++ b/formats/format_wav.c @@ -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; -- 2.47.2